From a4d711c06db1a534bdacf1fbe34019ea96e9dd96 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Mon, 26 Dec 2016 08:07:00 -0500 Subject: [PATCH] Fixed test --- test/basic_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basic_test.dart b/test/basic_test.dart index d7f5ec02..654497cc 100644 --- a/test/basic_test.dart +++ b/test/basic_test.dart @@ -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!' });