diff options
Diffstat (limited to 'validator_derive')
| -rw-r--r-- | validator_derive/Cargo.toml | 4 | ||||
| -rw-r--r-- | validator_derive/tests/range.rs | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/validator_derive/Cargo.toml b/validator_derive/Cargo.toml index 4062170..c4e6d6e 100644 --- a/validator_derive/Cargo.toml +++ b/validator_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "validator_derive" -version = "0.10.0" +version = "0.10.1" authors = ["Vincent Prouillet <prouillet.vincent@gmail.com"] license = "MIT" description = "Macros 1.1 implementation of #[derive(Validate)]" @@ -30,6 +30,6 @@ lazy_static = "1" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" -compiletest_rs = "0.3" +compiletest_rs = "0.5" diff --git a/validator_derive/tests/range.rs b/validator_derive/tests/range.rs index 006d085..510b13f 100644 --- a/validator_derive/tests/range.rs +++ b/validator_derive/tests/range.rs @@ -89,4 +89,5 @@ fn can_pass_reference_as_validate() { let val = TestStruct { num_field: 10 }; validate(&val).unwrap_err(); + assert_eq!(val.num_field, 10); } |
