diff --git a/test/validators.js b/test/validators.js index b9899b626..c15e4fe4e 100644 --- a/test/validators.js +++ b/test/validators.js @@ -9998,8 +9998,15 @@ describe('Validators', () => { it('should validate slug', () => { test({ validator: 'isSlug', - args: ['cs_67CZ'], - valid: ['cs-cz', 'cscz'], + valid: [ + 'foo', + 'foo-bar', + 'foo_bar', + 'foo-bar-foo', + 'foo-bar_foo', + 'foo-bar_foo*75-b4r-**_foo', + 'foo-bar_foo*75-b4r-**_foo-&&', + ], invalid: [ 'not-----------slug', '@#_$@',