lib/utils: update unit test

This commit is contained in:
Dirk-Jan C. Binnema
2020-06-07 18:11:41 +03:00
parent c204c6d4aa
commit b10b243b54

View File

@ -55,7 +55,7 @@ test_parser()
check_parse(R"("foo\"bar\"cuux")", "\"foo\\\"bar\\\"cuux\""); check_parse(R"("foo\"bar\"cuux")", "\"foo\\\"bar\\\"cuux\"");
check_parse(R"("foo check_parse(R"("foo
bar")", "\"foo\\nbar\""); bar")", "\"foo\nbar\"");
} }
static void static void
@ -107,7 +107,7 @@ test_props()
Node expr = Node::make_list(std::move(seq)); Node expr = Node::make_list(std::move(seq));
assert_equal(expr.to_string(), assert_equal(expr.to_string(),
"(:foo \"b\\303\\244r\" :cuux 123 :flub fnord :boo (\"foo\" 123 blub))"); "(:foo \"b\303\244r\" :cuux 123 :flub fnord :boo (\"foo\" 123 blub))");
} }
int int