Skip to content

Commit b783612

Browse files
defaudegithub-actions
and
github-actions
authored
fix: ValidateURL failing tests (TheAlgorithms#1394)
* test: remove ValidateUrl.test.js The code was removed with ecac786 but the test was left here (and has been failing since then, obviously 🤣) * test: remove conflicting test case There is another test case that explicitly expects the `null` result when the input array only contains one element. * Updated Documentation in README.md --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent f271a2c commit b783612

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

Diff for: Maths/test/ParityOutlier.test.js

-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ describe('Testing parityOutlier function', () => {
99
expect(parityOutlier([177, 5, 76, 1919])).toBe(76)
1010
})
1111

12-
it('should, if the given array has only one integer element, return the integer itself', () => {
13-
expect(parityOutlier([83])).toBe(83)
14-
expect(parityOutlier([54])).toBe(54)
15-
})
16-
1712
it('should, if the given array has only an odd and an even number, return the odd outlier', () => {
1813
expect(parityOutlier([1, 2])).toBe(1)
1914
expect(parityOutlier([4, 3])).toBe(3)

Diff for: String/test/ValidateUrl.test.js

-14
This file was deleted.

0 commit comments

Comments
 (0)