New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: new string validations #26
Conversation
@joamag PTAL |
assert.strictEqual(result, true); | ||
|
||
assert.throws( | ||
() => yonius.isLower()("ILLEGAL!"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please keep using the typical hello and hello world string "HELLO" example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Taken from
yonius/test/util/validation.js
Line 141 in 35e9dcb
() => yonius.isSimple()("illegal!"), |
test/util/validation.js
Outdated
result = yonius.stringGt(2)("xxx"); | ||
assert.strictEqual(result, true); | ||
|
||
result = yonius.stringGt(4)("xxxxx"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep using the hello world theme
assert.strictEqual(result, true); | ||
|
||
result = yonius.stringLt(4)("xxx"); | ||
assert.strictEqual(result, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
No description provided.