Skip to content

Commit b783612

Browse files
defaudegithub-actions
andauthored
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

Maths/test/ParityOutlier.test.js

Lines changed: 0 additions & 5 deletions
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)

String/test/ValidateUrl.test.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy