mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-19 07:29:08 +00:00
8075240: Output of some tests contains platform specific line break
Reviewed-by: sundar
This commit is contained in:
parent
de784d82f1
commit
540bb21731
@ -97,7 +97,7 @@ function processFiles(subdir) {
|
||||
var parser = new Parser();
|
||||
var tree = parser.parse(subdir + "/" + file.name, script,
|
||||
function(diagnostic) {
|
||||
print(JSON.stringify(parser.convert(diagnostic), null, 2));
|
||||
print(JSON.stringify(parser.convert(diagnostic), null, 2).replace(/\\r/g, ''));
|
||||
print(",");
|
||||
});
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -78,5 +78,5 @@ function parseDiagnostic (code, args) {
|
||||
var tree = parser.create(args).parse("test.js", code, function (message) {
|
||||
messages.push(convert(message))
|
||||
})
|
||||
print(JSON.stringify(messages, null, 2))
|
||||
print(JSON.stringify(messages, null, 2).replace(/\\r/g, ''))
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user