mirror of
https://github.com/actions/setup-python.git
synced 2024-11-27 02:27:09 +00:00
24 lines
446 B
JavaScript
24 lines
446 B
JavaScript
|
var test = require('tape');
|
||
|
var equal = require('../');
|
||
|
|
||
|
test('equal', function (t) {
|
||
|
t.ok(equal(
|
||
|
{ a : [ 2, 3 ], b : [ 4 ] },
|
||
|
{ a : [ 2, 3 ], b : [ 4 ] }
|
||
|
));
|
||
|
t.end();
|
||
|
});
|
||
|
|
||
|
test('not equal', function (t) {
|
||
|
t.notOk(equal(
|
||
|
{ x : 5, y : [6] },
|
||
|
{ x : 5, y : 6 }
|
||
|
));
|
||
|
t.end();
|
||
|
});
|
||
|
|
||
|
test('nested nulls', function (t) {
|
||
|
t.ok(equal([ null, null, null ], [ null, null, null ]));
|
||
|
t.end();
|
||
|
});
|