aboutsummaryrefslogtreecommitdiffstats
path: root/validator_derive/tests/complex.rs
diff options
context:
space:
mode:
authorVincent Prouillet2017-11-08 17:16:24 +0100
committerVincent Prouillet2017-11-08 17:16:24 +0100
commit9b175bc3ca7a2a65add0ec4a42a79b5c9f47314b (patch)
tree0d359b1d047841e1be14aeca8e0cf157cbdd6b42 /validator_derive/tests/complex.rs
parentf04f03f33c057e160856800bdd1a106b035d713b (diff)
downloadvalidator-9b175bc3ca7a2a65add0ec4a42a79b5c9f47314b.tar.bz2
Add missing credit_card derive impl
Diffstat (limited to 'validator_derive/tests/complex.rs')
-rw-r--r--validator_derive/tests/complex.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/validator_derive/tests/complex.rs b/validator_derive/tests/complex.rs
index b9363e4..db62600 100644
--- a/validator_derive/tests/complex.rs
+++ b/validator_derive/tests/complex.rs
@@ -170,6 +170,7 @@ fn test_works_with_question_mark_operator() {
let signup = SignupData {
mail: "invalid_email".to_string(),
site: "http://hello.com".to_string(),
+ phone: "+14152370800".to_string(),
first_name: "Bob".to_string(),
age: 18,
};