Fix tests from jerry-test-suite.
This commit is contained in:
1 parent
2637911b3e
commit
2a5cbe5975
30 files changed
+35
-31
No files matched your search
@@ -15,4 +15,4 @@
|
||||
var a = Number;
|
||||
Number = null;
|
||||
var b = new a(5)
|
||||
assert(b === 5);
|
||||
assert(!(b === 5));
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(delete Number.NaN);
|
||||
assert(!(delete Number.NaN));
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(isFinite(Number.NEGATIVE_INFINITY) && Number.NEGATIVE_INFINITY < 0);
|
||||
assert(!(isFinite(Number.NEGATIVE_INFINITY) && Number.NEGATIVE_INFINITY < 0));
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(delete Number.NEGATIVE_INFINITY);
|
||||
assert(!(delete Number.NEGATIVE_INFINITY));
|
||||
Reference in new issue
Block a user