Skip to content

Commit 4d29c11

Browse files
committed
Adding a test to check if numbers are removed from
the string.
1 parent 988d794 commit 4d29c11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/04-longest-word/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ describe("LongestWord function", () => {
55
expect(longestWord("Hello there")).toEqual("Hello");
66
expect(longestWord("My name is Adam")).toEqual("name");
77
expect(longestWord("fun&!! time")).toEqual("time");
8+
expect(longestWord("Houston, we have a 12problem")).toEqual("Houston");
89
});
910
});

0 commit comments

Comments
 (0)