Skip to content

Commit 6879509

Browse files
authored
Update test.js
1 parent 8c136e8 commit 6879509

File tree

1 file changed

+2
-2
lines changed
  • 1-js/05-data-types/03-string/3-truncate/_js.view

1 file changed

+2
-2
lines changed

1-js/05-data-types/03-string/3-truncate/_js.view/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
describe("truncate", function() {
2-
it("truncate the long string to the given lenth (including the ellipsis)", function() {
2+
it("truncate the long string to the given length (including the ellipsis)", function() {
33
assert.equal(
44
truncate("What I'd like to tell on this topic is:", 20),
55
"What I'd like to te…"
@@ -13,4 +13,4 @@ describe("truncate", function() {
1313
);
1414
});
1515

16-
});
16+
});

0 commit comments

Comments
 (0)