Remove bad format test

This commit is contained in:
water
2020-09-14 20:35:31 -04:00
parent 8308bfb451
commit aadc274a89
+14 -14
View File
@@ -253,20 +253,20 @@ TEST(CompilerAndRuntime, CompilerTests) {
runner.run_test("test-factorial-loop.gc", {"3628800\n"});
runner.run_test("test-protect.gc", {"33\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 "
"non-default pad: zzzzzzpad-me\ntest A shorten(4): a23~\ntest A don'tchange(4): a234\ntest A "
"shorten with pad(4): sho~\ntest A a few things \"one thing\" a-second integer #<compiled "
"function @ #x161544>\n";
expected += "test S a string a-symbol another string!\n";
expected += "test C ) ]\n";
expected += "test P (no type) #<compiled function @ #x161544>\n";
expected += "test P (with type) 1447236\n";
// todo, finish format testing.
runner.run_test("test-format.gc", {expected}, expected.size());
// 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
// " "non-default pad: zzzzzzpad-me\ntest A shorten(4): a23~\ntest A don'tchange(4):
// a234\ntest A " "shorten with pad(4): sho~\ntest A a few things \"one thing\" a-second
// integer #<compiled " "function @ #x161544>\n";
//
// expected += "test S a string a-symbol another string!\n";
// expected += "test C ) ]\n";
// expected += "test P (no type) #<compiled function @ #x161544>\n";
// expected += "test P (with type) 1447236\n";
//
// // todo, finish format testing.
// runner.run_test("test-format.gc", {expected}, expected.size());
compiler.shutdown_target();
runtime_thread.join();