]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: enable TestEmptySlice
authorRuss Cox <rsc@golang.org>
Wed, 29 Jul 2015 23:05:07 +0000 (19:05 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 30 Jul 2015 04:47:16 +0000 (04:47 +0000)
It says to disable until #7564 is fixed. It was fixed in April 2014.

Change-Id: I9bebfe96802bafdd2d1a0a47591df346d91b000c
Reviewed-on: https://go-review.googlesource.com/12858
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/mfinal_test.go

index d2cead2876af9112eecf2494c3f47b37e5a5883f..e9e3601de6c15bab95b4de73508d277e9e23f6d1 100644 (file)
@@ -171,9 +171,6 @@ func adjChunks() (*objtype, *objtype) {
 
 // Make sure an empty slice on the stack doesn't pin the next object in memory.
 func TestEmptySlice(t *testing.T) {
-       if true { // disable until bug 7564 is fixed.
-               return
-       }
        x, y := adjChunks()
 
        // the pointer inside xs points to y.