diff options
author | Russ Cox <rsc@golang.org> | 2009-09-02 14:11:40 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-02 14:11:40 -0700 |
commit | e3144b93290471291b01eaf9b388e51a6ab3714e (patch) | |
tree | 4c6d913b60666f25465e75df6f10897bbd3eb8b6 /usr/austin/eval/stmt_test.go | |
parent | 6c38613736071997c30b8d84aaeecd12bb142030 (diff) | |
download | golang-e3144b93290471291b01eaf9b388e51a6ab3714e.tar.gz |
move abortChan into Thread.
reuse Thread in function calls.
R=austin
DELTA=59 (8 added, 7 deleted, 44 changed)
OCL=34266
CL=34266
Diffstat (limited to 'usr/austin/eval/stmt_test.go')
-rw-r--r-- | usr/austin/eval/stmt_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/austin/eval/stmt_test.go b/usr/austin/eval/stmt_test.go index f701d27f7..9a62b2e0f 100644 --- a/usr/austin/eval/stmt_test.go +++ b/usr/austin/eval/stmt_test.go @@ -302,7 +302,7 @@ var stmtTests = []test { SErr("type T struct { x int }; type U struct { x int }; var y struct { T; U }; y.x = 42", "ambiguous.*\tT\\.x\n\tU\\.x"), SErr("type T struct { *T }; var x T; x.foo", "no field"), - //Val1("fib := func(int) int{return 0;}; fib = func(v int) int { if v < 2 { return 1 } return fib(v-1)+fib(v-2) }; i = fib(20)", "i", 0), + Val1("fib := func(int) int{return 0;}; fib = func(v int) int { if v < 2 { return 1 } return fib(v-1)+fib(v-2) }; i = fib(20)", "i", 10946), // Make slice Val2("x := make([]int, 2); x[0] = 42; i, i2 = x[0], x[1]", "i", 42, "i2", 0), |