Skip to content

Commit 4c07bfb

Browse files
committed
Update test.
1 parent b9c8adc commit 4c07bfb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/test-utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ function prototypeString() {
141141
str = 'https://mail.google.com';
142142
assert.ok(str.isURL() === true, 'string.isURL(): ' + str);
143143

144+
str = 'http://w';
145+
assert.ok(str.isURL() === false, 'string.isURL(): ' + str);
146+
144147
str = 'petersirka@gmail.com';
145148
assert.ok(str.isEmail() === true, 'string.isEmail(): ' + str);
146149

0 commit comments

Comments
 (0)