2
0
Эх сурвалжийг харах

[tests] dodge C# issue (see #6561)

Simon Krajewski 8 жил өмнө
parent
commit
1cd4a7c1f7

+ 3 - 3
tests/unit/src/unit/issues/Issue6561.hx

@@ -1,18 +1,18 @@
 package unit.issues;
 
 private enum Log<A> {
-	Log(msg:String):Log<String>;
+	NotLog(msg:String):Log<String>;
 }
 
 
 class Issue6561 extends unit.Test {
 	function test() {
-		eq("hello", apply(Log("hello")));
+		eq("hello", apply(NotLog("hello")));
 	}
 
   	static function apply<A>(f:Log<A>):A {
 		return switch f {
-			case Log(msg):
+			case NotLog(msg):
       			msg;
 		}
   	}