Use guillemets («») to quote string values - fixes #174

Expected/actual values should be delimited in a way that
isn't confusable with actual string quotes " '
This commit is contained in:
smikes 2015-07-30 20:13:49 -06:00
parent 61cd8c6ad7
commit 4a6f28f075
1 changed files with 2 additions and 2 deletions

View File

@ -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);
};