-
-
Save AbdulKabia/06545054416ed7a1f88a2e89da637727 to your computer and use it in GitHub Desktop.
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
it('is a valid search with space inside of search', function () { | |
assert.equal(urlUtil.isNotURL('https://www.google.ca/search?q=dog cat'), false) | |
}) | |
it('is a valid search with leading and trailing spaces', function () { | |
assert.equal(urlUtil.isNotURL(' https://www.google.ca/search?q=dog cat '), false) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment