Fix tests from jerry-test-suite.
This commit is contained in:
@@ -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