mirror of https://github.com/tc39/test262.git
fix undefined var
This commit is contained in:
parent
d075338699
commit
65e5aa6f79
|
@ -4,7 +4,7 @@ function assert(mustBeTrue, message) {
|
|||
}
|
||||
|
||||
if (message === undefined) {
|
||||
message = 'Expected true but got ' + String(truthy);
|
||||
message = 'Expected true but got ' + String(mustBeTrue);
|
||||
}
|
||||
$ERROR(message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue