瀏覽代碼

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