]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: include test/fixedbugs/bug073.go again in test
authorRobert Griesemer <gri@golang.org>
Thu, 24 Jan 2019 04:47:44 +0000 (20:47 -0800)
committerRobert Griesemer <gri@golang.org>
Sun, 17 Feb 2019 04:39:22 +0000 (04:39 +0000)
This test was excluded from the go/types std lib test
because it tested old behavior (shift count must be
an unsigned int). With the compiler changes made and
the test adjusted accordingly, we can include it again.

Updates #19113.

Change-Id: If9b6b83505d2bd2b426fcefa225986d73658a229
Reviewed-on: https://go-review.googlesource.com/c/159319
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/go/types/stdlib_test.go

index b254b29bdf21faf156f955ffe56b1be189314613..84908fd190c4eedb6a709423e59ae3339ac8b8ab 100644 (file)
@@ -167,7 +167,6 @@ func TestStdFixed(t *testing.T) {
        }
 
        testTestDir(t, filepath.Join(runtime.GOROOT(), "test", "fixedbugs"),
-               "bug073.go",                           // checks for unsigned integer shift - disabled for now
                "bug248.go", "bug302.go", "bug369.go", // complex test instructions - ignore
                "issue6889.go",   // gc-specific test
                "issue7746.go",   // large constants - consumes too much memory