We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c136e8 commit 6879509Copy full SHA for 6879509
1-js/05-data-types/03-string/3-truncate/_js.view/test.js
@@ -1,5 +1,5 @@
1
describe("truncate", function() {
2
- 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() {
3
assert.equal(
4
truncate("What I'd like to tell on this topic is:", 20),
5
"What I'd like to te…"
@@ -13,4 +13,4 @@ describe("truncate", function() {
13
);
14
});
15
16
-});
+});
0 commit comments