aboutsummaryrefslogtreecommitdiff
path: root/lexer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lexer_test.go')
-rw-r--r--lexer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer_test.go b/lexer_test.go
index 27cdfed..b736c14 100644
--- a/lexer_test.go
+++ b/lexer_test.go
@@ -11,7 +11,7 @@ func testInput(t *testing.T, ty int, s ...string) {
input = input[1 : len(input)-1]
}
if typ != ty || yy.sval != input {
- t.Error("expeced", input, "got", s)
+ t.Error("expeced", input, "got", yy.sval)
}
}
}