Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

74aa4d7e56a43ef7151fb4f5973a68bd669ac77b
[qunit.git] / test / node-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                 console.log(output);
14         }
15 });
16 QUnit.test("yo", function() {
17         QUnit.equal(true, false);
18         QUnit.equal(true, false, "gotta fail");
19         x.y.z;
20 });

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