瀏覽代碼

adjust unit test

Simon Krajewski 12 年之前
父節點
當前提交
730e6c1b79
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit/TestMatch.hx

+ 1 - 1
tests/unit/TestMatch.hx

@@ -452,7 +452,7 @@ class TestMatch extends Test {
 		}
 		}
 		eq(r, 1);
 		eq(r, 1);
 		
 		
-		eq("Unmatched patterns: 405", TestMatchMacro.getErrorMessage(switch(a) {
+		eq("Unmatched patterns: MethodNotAllowed", TestMatchMacro.getErrorMessage(switch(a) {
 			case NotFound:
 			case NotFound:
 		}));
 		}));
 		#end
 		#end