All tests passed. (refresh)
Text | Expected | Actual | |
---|---|---|---|
is_valid(nil, nil) | |||
return value | false | false | |
failed rule | no input | no input | |
is_valid(, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(nil, { nil_is_valid }) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(колан, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(Станислав, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(КОРЕКОМ, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(бърЗовар, nil) | |||
return value | false | false | |
failed rule | valid letter case | valid letter case | |
is_valid(ОрангутаН, nil) | |||
return value | false | false | |
failed rule | valid letter case | valid letter case | |
is_valid(траЛалаЛА, nil) | |||
return value | false | false | |
failed rule | valid letter case | valid letter case | |
is_valid(БЬОРК, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(Бьорк, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(миньор, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(бельо, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(Ьордан, nil) | |||
return value | false | false | |
failed rule | correct use of ьЬ | correct use of ьЬ | |
is_valid(ьерархия, nil) | |||
return value | false | false | |
failed rule | correct use of ьЬ | correct use of ьЬ | |
is_valid(конь, nil) | |||
return value | false | false | |
failed rule | correct use of ьЬ | correct use of ьЬ | |
is_valid(коьот, nil) | |||
return value | false | false | |
failed rule | correct use of ьЬ | correct use of ьЬ | |
is_valid(ваььар, nil) | |||
return value | false | false | |
failed rule | correct use of ьЬ | correct use of ьЬ | |
is_valid(Facebook, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(VIP, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(TOEFL, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(Туитър, nil) | |||
return value | true | true | |
failed rule | (nil) | (nil) | |
is_valid(Fейсбук, nil) | |||
return value | false | false | |
failed rule | no alphabet mixing | no alphabet mixing | |
is_valid(VIП, nil) | |||
return value | false | false | |
failed rule | no alphabet mixing | no alphabet mixing | |
is_valid(караванaта, nil) | |||
return value | false | false | |
failed rule | no alphabet mixing | no alphabet mixing | |
is_valid(окoкорихме, nil) | |||
return value | false | false | |
failed rule | no alphabet mixing | no alphabet mixing |
Text | Expected | Actual | |
---|---|---|---|
is_valid(3.14): error | {message="Input must be a string!", status=false} | {message="Input must be a string!", status=false} | |
is_valid(true): error | {message="Input must be a string!", status=false} | {message="Input must be a string!", status=false} | |
is_valid(function): error | {message="Input must be a string!", status=false} | {message="Input must be a string!", status=false} | |
is_valid(table): error | {message="Input must be a string!", status=false} | {message="Input must be a string!", status=false} |