This commit is contained in:
Devin Howard 2016-10-24 16:52:15 +08:00
parent 7b67066f7d
commit 6bd577e42e

View file

@ -15,11 +15,11 @@ describe('Metamaps.Util.js', function () {
// TODO this test seems like it's incorrect behaviour
it('splits mid-word if need be', function () {
expect(Util.splitLine('test test', 2))
.to.equal("te\nt\nte\nt")
.to.equal('te\nt\nte\nt')
})
it('splits words over 30 chars', function () {
expect(Util.splitLine('suprainterpostantidisestablishmentarianism', 30))
.to.equal("suprainterpostantidisestablish\nentarianism")
.to.equal('suprainterpostantidisestablish\nentarianism')
})
})
describe('nowDateFormatted', function () {