Parcourir la source

fix File.copy test

Alexander Kuzmenko il y a 6 ans
Parent
commit
d10c11c3a7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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();
 		}
 	}
 }