diff options
Diffstat (limited to 'src/lib/regexp/all_test.go')
-rw-r--r-- | src/lib/regexp/all_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/regexp/all_test.go b/src/lib/regexp/all_test.go index 5e9754934..1a5285eb7 100644 --- a/src/lib/regexp/all_test.go +++ b/src/lib/regexp/all_test.go @@ -85,7 +85,7 @@ var matches = []tester { tester{ `a*(|(b))c*`, "aacc", vec{0,4, 2,2, -1,-1} }, } -func compileTest(t *testing.T, expr string, error *os.Error) regexp.Regexp { +func compileTest(t *testing.T, expr string, error *os.Error) *regexp.Regexp { re, err := regexp.Compile(expr); if err != error { t.Error("compiling `", expr, "`; unexpected error: ", err.String()); |