Content-Length: 281326 | pFad | http://github.com/DerDjamel/JavaScript-algorithms/commit/b7836122ffbc0e37fd3441125832d4c59d6f52cb

FA fix: ValidateURL failing tests (#1394) · DerDjamel/JavaScript-algorithms@b783612 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/DerDjamel/JavaScript-algorithms/commit/b7836122ffbc0e37fd3441125832d4c59d6f52cb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy