From 890202ab6adeb89e22f7d859d6b65ad63c6afe29 Mon Sep 17 00:00:00 2001 From: jeaye Date: Sun, 8 Dec 2024 15:31:12 -0800 Subject: [PATCH] Fix double suffix --- compiler+runtime/test/cpp/jank/read/lex.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/compiler+runtime/test/cpp/jank/read/lex.cpp b/compiler+runtime/test/cpp/jank/read/lex.cpp index a9b9493e..f04a2373 100644 --- a/compiler+runtime/test/cpp/jank/read/lex.cpp +++ b/compiler+runtime/test/cpp/jank/read/lex.cpp @@ -486,7 +486,7 @@ namespace jank::read::lex == make_tokens({ { 0, 3, token_kind::integer, 28ll }, { 4, 4, token_kind::integer, -28ll }, - { 9, 4, token_kind::real, 8.9l }, + { 9, 4, token_kind::real, 8.9 }, })); } @@ -523,16 +523,16 @@ namespace jank::read::lex native_vector> tokens(p.begin(), p.end()); CHECK(tokens == make_results({ - error{ 0,3,"invalid number: char g are invalid for radix 16" }, + error{ 0,3, "invalid number: char g are invalid for radix 16" }, error{ 4, - 8, "invalid number: radix 16 number cannot use scientific notation, have '.', " - "or have '+-' inside the number" }, + 8, "invalid number: radix 16 number cannot use scientific notation, have '.', " + "or have '+-' inside the number" }, error{ 9, - 14, "invalid number: radix 16 number cannot use scientific notation, have '.', " - "or have '+-' inside the number" }, + 14, "invalid number: radix 16 number cannot use scientific notation, have '.', " + "or have '+-' inside the number" }, error{ 15, - 21, "invalid number: radix 16 number cannot use scientific notation, have '.', " - "or have '+-' inside the number" }, + 21, "invalid number: radix 16 number cannot use scientific notation, have '.', " + "or have '+-' inside the number" }, })); }