add format order test and fix reg order for windows

This commit is contained in:
water
2020-09-15 18:49:55 -04:00
parent bb854dd81e
commit ca3acdb5ec
3 changed files with 30 additions and 1 deletions
+2
View File
@@ -253,6 +253,8 @@ TEST(CompilerAndRuntime, CompilerTests) {
runner.run_test("test-factorial-loop.gc", {"3628800\n"});
runner.run_test("test-protect.gc", {"33\n"});
runner.run_test("test-format-reg-order.gc", {"test 1 2 3 4 5 6\n0\n"});
// expected =
// "test newline\nnewline\ntest tilde ~ \ntest A print boxed-string: \"boxed string!\"\ntest
// A " "print symbol: a-symbol\ntest A make boxed object longer: \"srt\"!\ntest A