Browse Source

adjust unit test

Simon Krajewski 12 years ago
parent
commit
730e6c1b79
1 changed files with 1 additions and 1 deletions
  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("Unmatched patterns: 405", TestMatchMacro.getErrorMessage(switch(a) {
+		eq("Unmatched patterns: MethodNotAllowed", TestMatchMacro.getErrorMessage(switch(a) {
 			case NotFound:
 		}));
 		#end