Skip to content

Commit

Permalink
Merge pull request #129 from jianlingzhong/main
Browse files Browse the repository at this point in the history
Format code
  • Loading branch information
jeaye authored Nov 11, 2024
2 parents 3afd224 + 42a831a commit 43a30eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions compiler+runtime/test/cpp/jank/read/parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ namespace jank::read::parse
{ "\\u1234", "\\u5678", "\\u90ab", "\\ucdef", "\\uABCD", "\\uEFa0" })
{
auto const r(p.next());
CHECK(equal(r.expect_ok().unwrap().ptr,
make_box<obj::character>(
parse_character_in_base(ch.substr(2), 16).expect_ok())));
CHECK(equal(
r.expect_ok().unwrap().ptr,
make_box<obj::character>(parse_character_in_base(ch.substr(2), 16).expect_ok())));

auto const len(ch.size());
CHECK(r.expect_ok().unwrap().start
Expand Down Expand Up @@ -256,9 +256,9 @@ namespace jank::read::parse
for(native_persistent_string const &ch : { "\\o012", "\\o345", "\\o670" })
{
auto const r(p.next());
CHECK(equal(r.expect_ok().unwrap().ptr,
make_box<obj::character>(
parse_character_in_base(ch.substr(2), 8).expect_ok())));
CHECK(equal(
r.expect_ok().unwrap().ptr,
make_box<obj::character>(parse_character_in_base(ch.substr(2), 8).expect_ok())));

auto const len(ch.size());
CHECK(r.expect_ok().unwrap().start
Expand Down

0 comments on commit 43a30eb

Please sign in to comment.