Update test.js

This commit is contained in:
Ilya Kantor 2018-06-05 19:45:17 +03:00 committed by GitHub
parent 8c136e8be9
commit 68795098a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
describe("truncate", function() {
it("truncate the long string to the given lenth (including the ellipsis)", function() {
it("truncate the long string to the given length (including the ellipsis)", function() {
assert.equal(
truncate("What I'd like to tell on this topic is:", 20),
"What I'd like to te…"
@ -13,4 +13,4 @@ describe("truncate", function() {
);
});
});
});