aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-03-24 20:44:45 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-03-24 20:44:45 +0100
commit7c4d89c007b8b7f2a144605a58d55150490222b0 (patch)
treed73e5597635770f5f9c413d3c404a720235ae04d
parent4dc7e3191b2d4848ba5cf30b381688f4256c0b51 (diff)
Fix types
-rw-r--r--lexer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer_test.go b/lexer_test.go
index b736c14..659ea6c 100644
--- a/lexer_test.go
+++ b/lexer_test.go
@@ -10,7 +10,7 @@ func testInput(t *testing.T, ty int, s ...string) {
if input[0] == '\'' {
input = input[1 : len(input)-1]
}
- if typ != ty || yy.sval != input {
+ if typ != ty || yy.sval != S(input) {
t.Error("expeced", input, "got", yy.sval)
}
}