mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
bz wants isnot()
This commit is contained in:
parent
e56311e5dd
commit
82c1df0239
@ -40,6 +40,11 @@ SimpleTest.is = function (a, b, name) {
|
||||
SimpleTest.ok(a == b, name, "got " + repr(a) + ", expected " + repr(b));
|
||||
};
|
||||
|
||||
SimpleTest.isnot = function (a, b, name) {
|
||||
var repr = MochiKit.Base.repr;
|
||||
SimpleTest.ok(a != b, name, "Didn't expect " + repr(a) + ", but got it.");
|
||||
};
|
||||
|
||||
// --------------- Test.Builder/Test.More todo() -----------------
|
||||
|
||||
SimpleTest.todo = function(condition, name, diag) {
|
||||
@ -387,5 +392,6 @@ SimpleTest.isa = function (object, clas) {
|
||||
// Global symbols:
|
||||
var ok = SimpleTest.ok;
|
||||
var is = SimpleTest.is;
|
||||
var isnot = SimpleTest.isnot;
|
||||
var todo = SimpleTest.todo;
|
||||
var isDeeply = SimpleTest.isDeeply;
|
||||
|
@ -67,8 +67,8 @@ RunSet.runall = function() {
|
||||
'test_bug337631.html',
|
||||
'test_bug338541.xhtml',
|
||||
'test_bug338679.html',
|
||||
'test_bug339494.html'
|
||||
'test_bug339494.xhtml'
|
||||
'test_bug339494.html',
|
||||
'test_bug339494.xhtml',
|
||||
'test_bug339494.xul',
|
||||
'test_bug339350.xhtml',
|
||||
'test_bug340800.html',
|
||||
|
Loading…
x
Reference in New Issue
Block a user