File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ const common = require('../common');
44const URL = require ( 'url' ) . URL ;
55const { test, assert_equals } = common . WPT ;
66
7+ /* eslint-disable */
78/* WPT Refs:
89 https://github.com/w3c/web-platform-tests/blob/02585db/url/url-tojson.html
910 License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html
1011*/
1112test ( ( ) => {
12- const a = new URL ( 'https://example.com/' ) ;
13- assert_equals ( JSON . stringify ( a ) , '"https://example.com/"' ) ;
14- } ) ;
13+ const a = new URL ( "https://example.com/" )
14+ assert_equals ( JSON . stringify ( a ) , "\"https://example.com/\"" )
15+ } )
16+ /* eslint-enable */
You can’t perform that action at this time.
0 commit comments