-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: wrap lines which include RegEx exceeding 80 chars
Format commit wrapping lines containing RegEx and exceeding 80 chars. Fixes: #14586
- Loading branch information
1 parent
fb3d0e2
commit 59d037f
Showing
6 changed files
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,10 @@ assert.strictEqual(url.searchParams, oldParams); // [SameObject] | |
// searchParams is readonly. Under strict mode setting a | ||
// non-writable property should throw. | ||
// Note: this error message is subject to change in V8 updates | ||
assert.throws(() => url.origin = 'http://foo.bar.com:22', | ||
/TypeError: Cannot set property origin of \[object URL\] which has only a getter$/); | ||
assert.throws( | ||
() => url.origin = 'http://foo.bar.com:22', | ||
/^TypeError: Cannot set property origin of \[object URL\] which has only a getter$/ | ||
); | ||
assert.strictEqual(url.origin, 'http://foo.bar.com:21'); | ||
assert.strictEqual(url.toString(), | ||
'http://user:[email protected]:21/aaa/zzz?l=25#test'); | ||
|
@@ -118,8 +120,10 @@ assert.strictEqual(url.hash, '#abcd'); | |
// searchParams is readonly. Under strict mode setting a | ||
// non-writable property should throw. | ||
// Note: this error message is subject to change in V8 updates | ||
assert.throws(() => url.searchParams = '?k=88', | ||
/^TypeError: Cannot set property searchParams of \[object URL\] which has only a getter$/); | ||
assert.throws( | ||
() => url.searchParams = '?k=88', | ||
/^TypeError: Cannot set property searchParams of \[object URL\] which has only a getter$/ | ||
); | ||
assert.strictEqual(url.searchParams, oldParams); | ||
assert.strictEqual(url.toString(), | ||
'https://user2:[email protected]:23/aaa/bbb?k=99#abcd'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters