浏览代码

fix File.copy test

Alexander Kuzmenko 6 年之前
父节点
当前提交
d10c11c3a7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/sys/src/io/TestFile.hx

+ 1 - 0
tests/sys/src/io/TestFile.hx

@@ -26,6 +26,7 @@ class TestFile extends utest.Test {
 			File.copy('non-existent-src', 'non-existent-dst');
 		} catch(e:Dynamic) {
 			//see https://github.com/HaxeFoundation/haxe/issues/8098
+			Assert.pass();
 		}
 	}
 }