beautify_js
This commit is contained in:
parent
0febe4f5fd
commit
5c2f32e184
208 changed files with 3891 additions and 1474 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue