Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

e8c5131b152e337953cc44c4cac7866dd643e20f
[qunit.git] / test / narwhal-test.js
1 // run with
2 // node test/node-test.js
3 var QUnit = require("../qunit/qunit");
4 QUnit.log(function(details) {
5         if (!details.result) {
6                 var output = "FAILED: " + (details.message ? details.message + ", " : "");
7                 if (details.actual) {
8                         output += "expected: " + details.expected + ", actual: " + details.actual;
9                 }
10                 if (details.source) {
11                         output += ", " + details.source;
12                 }
13                 print(output);
14         } else {
15                 print("ok!");
16         }
17 });
18 QUnit.test("yo", function() {
19         QUnit.equal(true, false);
20         QUnit.equal(true, false, "gotta fail");
21         x.y.z;
22 });

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf