Skip to content

Commit

Permalink
fix some test failures for others!!
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Dec 1, 2023
1 parent b2d5e65 commit 6a25b4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fetch/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ function simpleRangeHeaderValue (value, allowWhitespace) {
}

// 5. If the code point at position within data is not U+003D (=), then return failure.
if (data.charCodeAt(position.position) != 0x3D) {
if (data.charCodeAt(position.position) !== 0x3D) {
return 'failure'
}

Expand Down Expand Up @@ -1098,7 +1098,7 @@ function simpleRangeHeaderValue (value, allowWhitespace) {
}

// 11. If the code point at position within data is not U+002D (-), then return failure.
if (data.charCodeAt(position.position) != 0x2D) {
if (data.charCodeAt(position.position) !== 0x2D) {
return 'failure'
}

Expand Down

0 comments on commit 6a25b4a

Please sign in to comment.