Fixed test
This commit is contained in:
parent
bc2048669e
commit
a4d711c06d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import 'package:angel_validate/angel_validate.dart';
|
|||
import 'package:test/test.dart';
|
||||
|
||||
final Validator emailSchema = new Validator({
|
||||
'to': [isNum, isPositive]
|
||||
'to': isEmail
|
||||
}, customErrorMessages: {
|
||||
'to': 'Hello, world!'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue