Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
jianlingzhong committed Dec 26, 2024
1 parent 09b7967 commit 92075d4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions compiler+runtime/test/cpp/jank/read/lex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -634,12 +634,12 @@ namespace jank::read::lex
native_vector<result<token, error>> const tokens(p.begin(), p.end());
CHECK(tokens
== make_results({
error{ 0, 3, "invalid number: chars 'g' are invalid for radix 16" },
error{ 4, 8, "invalid number: chars '-' are invalid for radix 16" },
error{ 9, 14, "invalid number: chars '.' are invalid for radix 16" },
error{ 15, 21, "invalid number: chars '-' are invalid for radix 16" },
error{ 0, 3, "invalid number: chars 'g' are invalid for radix 16" },
error{ 4, 8, "invalid number: chars '-' are invalid for radix 16" },
error{ 9, 14, "invalid number: chars '.' are invalid for radix 16" },
error{ 15, 21, "invalid number: chars '-' are invalid for radix 16" },
error{ 22, 24, "unexpected end of radix 16 number, expecting more digits" },
error{ 25, 27, "invalid number: chars 'x' are invalid for radix 10" }
error{ 25, 27, "invalid number: chars 'x' are invalid for radix 10" }
}));
}

Expand Down Expand Up @@ -718,10 +718,10 @@ namespace jank::read::lex
native_vector<result<token, error>> const tokens(p.begin(), p.end());
CHECK(tokens
== make_results({
error{ 0, 3, "invalid number: chars '3' are invalid for radix 2" },
error{ 4, 8, "invalid number: chars 'z' are invalid for radix 35" },
error{ 9, 14, "invalid number: chars 'e' are invalid for radix 8" },
error{ 15, 22, "invalid number: chars '-' are invalid for radix 19" },
error{ 0, 3, "invalid number: chars '3' are invalid for radix 2" },
error{ 4, 8, "invalid number: chars 'z' are invalid for radix 35" },
error{ 9, 14, "invalid number: chars 'e' are invalid for radix 8" },
error{ 15, 22, "invalid number: chars '-' are invalid for radix 19" },
error{ 23, 25, "unexpected end of radix number, expecting more digits" },
error{ 26, 29, "unexpected end of radix number, expecting more digits" }
}));
Expand Down

0 comments on commit 92075d4

Please sign in to comment.