testing/mochitest/tests/browser/browser_fail.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testing/mochitest/tests/browser/browser_fail.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +function test() {
     1.5 +  ok(false, "fail ok");
     1.6 +  is(true, false, "fail is");
     1.7 +  isnot(true, true, "fail isnot");
     1.8 +  todo(true, "fail todo");
     1.9 +  todo_is(true, true, "fail todo_is");
    1.10 +  todo_isnot(true, false, "fail todo_isnot");
    1.11 +}

mercurial