substack/json-stable-stringify

2014-04-03 06:04:35
8.0
✓9.0
✓10.0
✓15.0
✓29.0
✓5.0
✓24.0
✓6.0
✓15.0
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal # toJSON function ok 11 should be equal 1..11 # tests 11 # pass 11 # ok
TAP version 13 # custom comparison function not ok 1 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # nested not ok 2 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # cyclic (default) not ok 3 should be equal --- operator: equal expected: "TypeError: Converting circular structure to JSON" actual: "TypeError: Object doesn't support this property or method" ... # cyclic (specifically allowed) not ok 4 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter not ok 5 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (with tabs) not ok 6 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (with a number) not ok 7 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (nested objects) not ok 8 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (same as native) not ok 9 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # simple object not ok 10 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # toJSON function not ok 11 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... 1..11 # tests 11 # pass 0 # fail 11
2013-12-22 04:23:56
8.0
✓9.0
✓10.0
✓15.0
✓29.0
✓5.0
✓24.0
✓6.0
✓15.0
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # cyclic (default) ok 3 should be equal # cyclic (specifically allowed) ok 4 should be equal # space parameter ok 5 should be equal # space parameter (with tabs) ok 6 should be equal # space parameter (with a number) ok 7 should be equal # space parameter (nested objects) ok 8 should be equal # space parameter (same as native) ok 9 should be equal # simple object ok 10 should be equal 1..10 # tests 10 # pass 10 # ok
TAP version 13 # custom comparison function not ok 1 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # nested not ok 2 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # cyclic (default) not ok 3 should be equal --- operator: equal expected: "TypeError: Converting circular structure to JSON" actual: "TypeError: Object doesn't support this property or method" ... # cyclic (specifically allowed) not ok 4 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter not ok 5 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (with tabs) not ok 6 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (with a number) not ok 7 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (nested objects) not ok 8 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # space parameter (same as native) not ok 9 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... # simple object not ok 10 TypeError: Object doesn't support this property or method --- operator: error expected: undefined actual: {"message":"Object doesn't support this property or method","number":-2146827850,"description":"Object doesn't support this property or method"} ... 1..10 # tests 10 # pass 0 # fail 10
2013-12-22 04:16:47
8.0
✓9.0
✓10.0
✓15.0
✓29.0
✓5.0
✓24.0
✓6.0
✓15.0
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object ok 2 should be equal # space parameter ok 3 should be equal # space parameter (with tabs) ok 4 should be equal # space parameter (with a number) ok 5 should be equal # space parameter (nested objects) ok 6 should be equal # space parameter (same as native) ok 7 should be equal # nested ok 8 should be equal 1..8 # tests 8 # pass 8 # ok
TAP version 13 # custom comparison function ok 1 should be equal # simple object not ok 2 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... # space parameter not ok 3 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... # space parameter (with tabs) not ok 4 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... # space parameter (with a number) not ok 5 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... # space parameter (nested objects) not ok 6 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... # space parameter (same as native) not ok 7 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... # nested not ok 8 TypeError: JScript object expected --- operator: error expected: undefined actual: {"message":"JScript object expected","number":-2146823274,"description":"JScript object expected"} ... 1..8 # tests 8 # pass 1 # fail 7
2013-07-18 02:30:54
8.0
✓10.0
9.0
15.0
29.0
5.0
24.0
✓6.0
15.0
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # simple object ok 3 should be equal 1..3 # tests 3 # pass 3 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # simple object ok 3 should be equal 1..3 # tests 3 # pass 3 # ok
idle timeout: 30 seconds with no output
2013-07-18 00:24:41
8.0
✓10.0
9.0
15.0
29.0
5.0
24.0
✓6.0
15.0
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # simple object ok 3 should be equal 1..3 # tests 3 # pass 3 # ok
TAP version 13 # custom comparison function ok 1 should be equal # nested ok 2 should be equal # simple object ok 3 should be equal 1..3 # tests 3 # pass 3 # ok
idle timeout: 30 seconds with no output