فهرست منبع

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

Simon Krajewski 8 سال پیش
والد
کامیت
1cd4a7c1f7
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      tests/unit/src/unit/issues/Issue6561.hx

+ 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;
 		}
   	}