8057779: Tests failed on Windows when in output contains path to script

Reviewed-by: sundar, lagergren, hannesw
This commit is contained in:
Sergey Lugovoy 2014-09-23 15:58:44 +04:00 committed by Yuri Nesterenko
parent 00019f9c03
commit 643e8d87e6
6 changed files with 6 additions and 6 deletions

View file

@ -33,5 +33,5 @@ try {
eval('"use strict";\n' + eval('"use strict";\n' +
'const x;\n'); 'const x;\n');
} catch (e) { } catch (e) {
print(e); print(String(e).replace(/\\/g, "/"));
} }

View file

@ -35,7 +35,7 @@ function tryIt (code) {
try { try {
eval(code) eval(code)
} catch (e) { } catch (e) {
print(e) print(String(e).replace(/\\/g, "/"))
} }
} }

View file

@ -34,5 +34,5 @@ try {
'const x = 2;\n' + 'const x = 2;\n' +
'const x = 2;\n'); 'const x = 2;\n');
} catch (e) { } catch (e) {
print(e); print(String(e).replace(/\\/g, "/"));
} }

View file

@ -34,7 +34,7 @@ function tryIt (code) {
try { try {
eval(code) eval(code)
} catch (e) { } catch (e) {
print(e) print(String(e).replace(/\\/g, "/"))
} }
} }

View file

@ -34,5 +34,5 @@ try {
'let x = 2;\n' + 'let x = 2;\n' +
'let x = 2;\n'); 'let x = 2;\n');
} catch (e) { } catch (e) {
print(e); print(String(e).replace(/\\/g, "/"));
} }

View file

@ -34,7 +34,7 @@ function tryIt (code) {
try { try {
eval(code) eval(code)
} catch (e) { } catch (e) {
print(e) print(String(e).replace(/\\/g, "/"))
} }
} }