Add more expected errors in book tests
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 17 Sep 2018 11:00:13 +0000 (07:00 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 17 Sep 2018 11:00:13 +0000 (07:00 -0400)
compiler/src/lib/tiger/tiger_test_cases_book.ml

index 289d747..92ad429 100644 (file)
@@ -99,7 +99,13 @@ let is_error_expected_parsing_of_filename =
 let is_error_expected_semant_of_filename =
   let module E = Tiger_error in
   function
 let is_error_expected_semant_of_filename =
   let module E = Tiger_error in
   function
+  | "test17.tig" ->
+      Some Error.is_unknown_type
+      (* TODO: Be more specific - which type? *)
   | "test09.tig"
   | "test09.tig"
+  | "test11.tig"
+  | "test13.tig"
+  | "test14.tig"
   | "test23.tig"
   | "test26.tig"
   | "test28.tig"
   | "test23.tig"
   | "test26.tig"
   | "test28.tig"
This page took 0.025881 seconds and 4 git commands to generate.