diff options
Diffstat (limited to 'prog/alloc_test.go')
| -rw-r--r-- | prog/alloc_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/alloc_test.go b/prog/alloc_test.go index 261b18d0c..c83063747 100644 --- a/prog/alloc_test.go +++ b/prog/alloc_test.go @@ -15,7 +15,7 @@ func TestMemAlloc(t *testing.T) { size int // if positive do noteAlloc, otherwise -- alloc } tests := [][]op{ - []op{ + { // Just sequential allocation. {0, -1}, {64, -64}, @@ -23,7 +23,7 @@ func TestMemAlloc(t *testing.T) { {256, -16}, {320, -8}, }, - []op{ + { // First reserve some memory and then allocate. {0, 1}, {64, 63}, |
