Created
July 18, 2012 15:14
-
-
Save hourback/3136792 to your computer and use it in GitHub Desktop.
Failing tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anab@osidev-ws23:~/Dropbox/projects/tnt_testing/ringojs$ ringo test.js | |
================================================================================ | |
+ Running test AssertionError instanceof Error ... PASSED (17 ms) | |
+ Running test ok false ... PASSED (3 ms) | |
+ Running test ok(true) ... PASSED (0 ms) | |
+ Running test ok("test") ... PASSED (0 ms) | |
+ Running test equal true false ... PASSED (2 ms) | |
+ Running test equal null null ... PASSED (0 ms) | |
+ Running test equal undefined undefined ... PASSED (0 ms) | |
+ Running test equal null undefined ... PASSED (0 ms) | |
+ Running test equal 2 "2" ... PASSED (0 ms) | |
+ Running test equal "2" 2 ... PASSED (0 ms) | |
+ Running test equal true true ... PASSED (0 ms) | |
+ Running test notEqual true false ... PASSED (0 ms) | |
+ Running test notEqual true true ... PASSED (2 ms) | |
+ Running test strictEqual 2 "2" ... PASSED (1 ms) | |
+ Running test strictEqual null undefined ... PASSED (2 ms) | |
+ Running test notStrictEqual 2 "2" ... PASSED (0 ms) | |
+ Running test 7.2 deepEqual date ... PASSED (0 ms) | |
+ Running test 7.2 deepEqual date negative ... PASSED (12 ms) | |
+ Running test 7.3 deepEqual 4 "4" ... PASSED (0 ms) | |
+ Running test 7.3 deepEqual "4" 4 ... PASSED (0 ms) | |
+ Running test 7.3 deepEqual true 1 ... PASSED (0 ms) | |
+ Running test 7.3 deepEqual 4 "5" ... PASSED (1 ms) | |
+ Running test 7.4 deepEqual {a:4} {a:4} ... PASSED (1 ms) | |
+ Running test 7.4 deepEqual {a:4,b:"2"} {a:4,b:"2"} ... PASSED (0 ms) | |
+ Running test 7.4 deepEqual [4] ["4"] ... PASSED (0 ms) | |
+ Running test 7.4 deepEqual {a:4} {a:4,b:true} ... PASSED (2 ms) | |
+ Running test deepEqual ["a"], {0:"a"} ... FAILED | |
Expected { | |
"0": "a" | |
}, got [ | |
"a" | |
] | |
at /home/anab/Dropbox/projects/tnt_testing/ringojs/test.js:13 | |
at /home/anab/Dropbox/projects/tnt_testing/ringojs/test.js:161 | |
+ Running test deepEqual {a:4,b:"1"} {b:"1",a:4} ... PASSED (1 ms) | |
+ Running test deepEqual arrays with non-numeric properties ... PASSED (3 ms) | |
+ Running test deepEqual identical prototype ... PASSED (2 ms) | |
+ Running test deepEqual "a" {} ... PASSED (2 ms) | |
+ Running test deepEqual "" "" ... PASSED (1 ms) | |
+ Running test deepEqual "" [""] ... FAILED | |
Expected exception AssertionError to be thrown | |
at /home/anab/Dropbox/projects/tnt_testing/ringojs/test.js:126 | |
at /home/anab/Dropbox/projects/tnt_testing/ringojs/test.js:161 | |
+ Running test deepEqual [""] [""] ... PASSED (1 ms) | |
+ Running test throw AssertionError ... FAILED | |
type | |
Expected false to be truthy | |
at /home/anab/Dropbox/projects/tnt_testing/ringojs/test.js:153 | |
at /home/anab/Dropbox/projects/tnt_testing/ringojs/test.js:161 | |
-------------------------------------------------------------------------------- | |
Executed 35 tests in 53 ms | |
Passed 32; Failed 3; Errors 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment