Change 'assert' handle to pass only upon exactly 1 argument is received, and the argument is boolean true; update internal test suite correspondingly.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -116,7 +116,7 @@ var props = {
|
||||
|
||||
var obj3 = Object.create(obj, props);
|
||||
assert (obj3.prop1 === 1);
|
||||
assert (obj3.protoFunction());
|
||||
assert (obj3.protoFunction() === 3);
|
||||
try {
|
||||
assert (obj3.hey === undefined);
|
||||
obj3.hey();
|
||||
|
||||
Reference in New Issue
Block a user