8057779: Tests failed on Windows when in output contains path to script
Reviewed-by: sundar, lagergren, hannesw
This commit is contained in:
parent
00019f9c03
commit
643e8d87e6
@ -33,5 +33,5 @@ try {
|
||||
eval('"use strict";\n' +
|
||||
'const x;\n');
|
||||
} catch (e) {
|
||||
print(e);
|
||||
print(String(e).replace(/\\/g, "/"));
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ function tryIt (code) {
|
||||
try {
|
||||
eval(code)
|
||||
} catch (e) {
|
||||
print(e)
|
||||
print(String(e).replace(/\\/g, "/"))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,5 +34,5 @@ try {
|
||||
'const x = 2;\n' +
|
||||
'const x = 2;\n');
|
||||
} catch (e) {
|
||||
print(e);
|
||||
print(String(e).replace(/\\/g, "/"));
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ function tryIt (code) {
|
||||
try {
|
||||
eval(code)
|
||||
} catch (e) {
|
||||
print(e)
|
||||
print(String(e).replace(/\\/g, "/"))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,5 +34,5 @@ try {
|
||||
'let x = 2;\n' +
|
||||
'let x = 2;\n');
|
||||
} catch (e) {
|
||||
print(e);
|
||||
print(String(e).replace(/\\/g, "/"));
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ function tryIt (code) {
|
||||
try {
|
||||
eval(code)
|
||||
} catch (e) {
|
||||
print(e)
|
||||
print(String(e).replace(/\\/g, "/"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user