Fix tests from jerry-test-suite.

This commit is contained in:
Ilmir Usmanov
2014-10-16 18:03:35 +04:00
parent 2637911b3e
commit 2a5cbe5975
30 changed files with 35 additions and 31 deletions
+1 -1
View File
@@ -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));