1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/modules/tests/browser/browser_test_assert.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +/* Any copyright is dedicated to the Public Domain. 1.5 +http://creativecommons.org/publicdomain/zero/1.0/ */ 1.6 + 1.7 +function test() { 1.8 + export_assertions(); 1.9 + 1.10 + ok(true, "pass ok"); 1.11 + is(true, true, "pass is"); 1.12 + isnot(false, true, "pass isnot"); 1.13 + ise(true, true, "pass ise"); 1.14 + todo(false, "pass todo"); 1.15 + todo_is(false, true, "pass todo_is"); 1.16 + todo_isnot(true, true, "pass todo_isnot"); 1.17 + info("info message"); 1.18 + 1.19 + var func = is; 1.20 + func(true, 1, "pass indirect is"); 1.21 +}