From 7c4d89c007b8b7f2a144605a58d55150490222b0 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 24 Mar 2015 20:44:45 +0100 Subject: Fix types --- lexer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } -- cgit v1.2.3