We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c8adc commit 4c07bfbCopy full SHA for 4c07bfb
1 file changed
test/test-utils.js
@@ -141,6 +141,9 @@ function prototypeString() {
141
str = 'https://mail.google.com';
142
assert.ok(str.isURL() === true, 'string.isURL(): ' + str);
143
144
+ str = 'http://w';
145
+ assert.ok(str.isURL() === false, 'string.isURL(): ' + str);
146
+
147
str = 'petersirka@gmail.com';
148
assert.ok(str.isEmail() === true, 'string.isEmail(): ' + str);
149
0 commit comments