este-library-oldschool
Version:
Library for github.com/steida/este.git
30 lines • 635 B
JavaScript
// Generated by github.com/steida/coffee2closure 900.1.18
suite('este.json', function() {
var json;
json = este.json;
return suite('equal', function() {
test('should work for objects', function() {
var a, b;
a = {
1: 'foo'
};
b = {
1: 'foo'
};
assert.isTrue(json.equal(a, b));
a = {
1: 'foo'
};
b = {
2: 'foo'
};
return assert.isFalse(json.equal(a, b));
});
return test('should work for nulls', function() {
var a, b;
a = null;
b = null;
return assert.isTrue(json.equal(a, b));
});
});
});