shithub: mc

Download patch

ref: 658dd280c40c5a6edb110e1170013e8479fe2bd0
parent: 48fc86fd6096fee22a81cbd92515ff42eccd8324
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Feb 8 22:47:33 EST 2017

Clean up tests.

    - Deal with license
    - Make them non-executable.

--- a/lib/json/test/parse.myr
+++ b/lib/json/test/parse.myr
@@ -124,7 +124,9 @@
 		| 'i':
 			std.put("ignoring implementation defined test {}\n", f)
 		| wat:
-			std.fatal("unknown test {}: needs to start with y or n\n", f)
+			if !std.sleq(f, "LICENSE")
+				std.fatal("unknown test {}: needs to start with y or n\n", f)
+			;;
 		;;
 		std.slfree(data)
 		std.slfree(path)