|
@@ -140,7 +140,7 @@ class TestUnicode extends utest.Test {
|
|
|
|
|
|
#if target.unicode
|
|
|
function testFilesystem() {
|
|
|
-#if !java // java does not have this functionality
|
|
|
+#if !jvm // java does not have this functionality
|
|
|
// setCwd + getCwd
|
|
|
Sys.setCwd("test-res");
|
|
|
function enterLeave(dir:String, ?alt:String):Void {
|
|
@@ -175,7 +175,7 @@ class TestUnicode extends utest.Test {
|
|
|
);
|
|
|
}, "test-res");
|
|
|
|
|
|
-#if !java // java does not have this functionality
|
|
|
+#if !jvm // java does not have this functionality
|
|
|
assertNormalEither(path -> {
|
|
|
if (!FileSystem.exists(path)) return false; // NFC/NFD differences
|
|
|
Sys.setCwd(path);
|
|
@@ -302,7 +302,7 @@ class TestUnicode extends utest.Test {
|
|
|
assertUEquals(runUtility(["println", '$i', mode]).stdout, str + endLine);
|
|
|
// trace
|
|
|
assertUEnds(runUtility(["trace", '$i', mode]).stdout, str + endLine);
|
|
|
- #if !java
|
|
|
+ #if !jvm
|
|
|
// putEnv + getEnv
|
|
|
assertUEquals(runUtility(["putEnv", "HAXE_TEST", '$i', mode, "getEnv", "HAXE_TEST"]).stdout, str + endLine);
|
|
|
// putEnv + environment
|
|
@@ -311,7 +311,7 @@ class TestUnicode extends utest.Test {
|
|
|
});
|
|
|
|
|
|
// args
|
|
|
- if (#if (java || eval || cpp) Sys.systemName() != "Windows" #else true #end) {
|
|
|
+ if (#if (jvm || eval || cpp) Sys.systemName() != "Windows" #else true #end) {
|
|
|
// https://stackoverflow.com/questions/7660651/passing-command-line-unicode-argument-to-java-code
|
|
|
UnicodeSequences.normalBoth(str -> {
|
|
|
assertUEquals(runUtility(["args", str]).stdout, str + endLine);
|