From 7ed05f913bbfa104435cb2cd5963b802b423214d Mon Sep 17 00:00:00 2001 From: Marvin Blum Date: Tue, 27 Oct 2015 22:06:49 +0100 Subject: [PATCH] Fixed unit tests. --- src/asl/parser_test.go | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/asl/parser_test.go b/src/asl/parser_test.go index 6c7e1c0..3a90ca9 100644 --- a/src/asl/parser_test.go +++ b/src/asl/parser_test.go @@ -8,42 +8,42 @@ import ( func TestParserDeclaration(t *testing.T) { got := getCompiled(t, "test/tokenizer_var.asl") - want := "x = 1;\narray = [1,2,3];\n" + want := "x = 1;\r\narray = [1,2,3];\r\n" equal(t, got, want) } func TestParserAssignment(t *testing.T) { got := getCompiled(t, "test/parser_assignment.asl") - want := "x = 1;\n" + want := "x = 1;\r\n" equal(t, got, want) } func TestParserIf(t *testing.T) { got := getCompiled(t, "test/tokenizer_if.asl") - want := "if (a