Fixed test

This commit is contained in:
thosakwe 2016-12-26 08:07:00 -05:00
parent bc2048669e
commit a4d711c06d

View file

@ -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!'
});