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 [email protected]
This commit is contained in:
1 parent
5d385b1144
commit
c715a7cd1d
44 files changed
+138
-137
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
function arguments(param) {
|
||||
return 1;
|
||||
function arguments (param) {
|
||||
return true;
|
||||
}
|
||||
assert(arguments());
|
||||
assert (arguments ());
|
||||
Reference in new issue
Block a user