beautify_js

This commit is contained in:
Ilya Kantor 2015-03-09 18:48:58 +03:00
parent 0febe4f5fd
commit 5c2f32e184
208 changed files with 3891 additions and 1474 deletions

View file

@ -1,13 +1,13 @@
describe("formatDate", function() {
it("правильно форматирует дату 30.01.14", function() {
assert.equal( formatDate(new Date(2014, 0, 30)), '30.01.14');
assert.equal(formatDate(new Date(2014, 0, 30)), '30.01.14');
});
it("правильно форматирует дату 01.01.01", function() {
assert.equal( formatDate(new Date(2001, 0, 1)), '01.01.01');
assert.equal(formatDate(new Date(2001, 0, 1)), '01.01.01');
});
it("правильно форматирует дату 01.01.00", function() {
assert.equal( formatDate(new Date(2000, 0, 1)), '01.01.00');
assert.equal(formatDate(new Date(2000, 0, 1)), '01.01.00');
});
});
});