Browse Source

employ elaborate reasoning to fix match error test

Simon Krajewski 9 years ago
parent
commit
379775075b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/unit/src/unit/TestMatch.hx

+ 1 - 1
tests/unit/src/unit/TestMatch.hx

@@ -337,7 +337,7 @@ class TestMatch extends Test {
 			case OpDecrement:
 			case OpNot:
 		}));
-		eq("Unmatched patterns: Node(Leaf(_), _)", TestMatchMacro.getErrorMessage(switch(Leaf("foo")) {
+		eq("Unmatched patterns: Node(Node, _)", TestMatchMacro.getErrorMessage(switch(Leaf("foo")) {
 			case Node(Leaf("foo"), _):
 			case Leaf(_):
 		}));