Update test.js
This commit is contained in:
parent
8c136e8be9
commit
68795098a3
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
|||
);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue