We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c2ebc4 commit 40ccbd6Copy full SHA for 40ccbd6
1 file changed
test/test-utils.js
@@ -95,16 +95,16 @@ function prototypeString() {
95
assert.ok('[}'.isJSON() === false, 'string.isJSON([})');
96
assert.ok('["'.isJSON() === false, 'string.isJSON([")');
97
98
- str = 'www.google.sk';
99
- assert.ok(str.isURL() === true, 'string.isURL(): ' + str);
100
-
101
str = 'google.sk';
102
assert.ok(str.isURL() === false, 'string.isURL(): ' + str);
103
104
str = 'google';
105
106
107
- str = 'http://google.com';
+ str = 'http://www.google.com';
+ assert.ok(str.isURL() === true, 'string.isURL(): ' + str);
+
+ str = 'http://127.0.0.1:8000';
108
assert.ok(str.isURL() === true, 'string.isURL(): ' + str);
109
110
str = 'https://mail.google.com';
0 commit comments