mirror of https://github.com/tc39/test262.git
Merge pull request #394 from smikes/quoted-sameValue-strings
Use guillemets («») to quote string values - fixes #174
This commit is contained in:
commit
8870e7bf34
|
@ -30,7 +30,7 @@ assert.sameValue = function (actual, expected, message) {
|
|||
message += ' ';
|
||||
}
|
||||
|
||||
message += 'Expected SameValue(' + String(actual) + ', ' + String(expected) + ') to be true';
|
||||
message += 'Expected SameValue(«' + String(actual) + '», «' + String(expected) + '») to be true';
|
||||
|
||||
$ERROR(message);
|
||||
};
|
||||
|
@ -46,7 +46,7 @@ assert.notSameValue = function (actual, unexpected, message) {
|
|||
message += ' ';
|
||||
}
|
||||
|
||||
message += 'Expected SameValue(' + String(actual) + ', ' + String(unexpected) + ') to be false';
|
||||
message += 'Expected SameValue(«' + String(actual) + '», «' + String(unexpected) + '») to be false';
|
||||
|
||||
$ERROR(message);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue