diff --git a/06-arrays/tests.js b/06-arrays/tests.js index da96a31..347eb8a 100644 --- a/06-arrays/tests.js +++ b/06-arrays/tests.js @@ -49,6 +49,7 @@ describe("#containsAnyTwice", function () { expect(containsAnyTwice([1, 2], ["hello", 1, "world", 1])).toBe(true); expect(containsAnyTwice([], ["always", "will", "return", "false"])).toBe(false); expect(containsAnyTwice(["hello", "world"], ["hello", "hello", "world", "world"])).toBe(true); + expect(containsAnyTwice(["hello"], ['hello', 'world', 'world'])).toBe(false); }); it ("should throw an error if either of the arguments are not arrays", function () {