Add test for invalid schemars attributes

This commit is contained in:
Graham Esau 2020-06-05 17:18:48 +01:00
parent b0a2f9994b
commit 4197bf4183
6 changed files with 54 additions and 2 deletions

View file

@ -5,7 +5,7 @@ cd schemars
rm -f tests/actual/*.json
cargo test --all-features --no-fail-fast --tests || :
TRYBUILD=overwrite cargo test --all-features --no-fail-fast --tests || :
if ls tests/actual/*.json 1> /dev/null 2>&1; then
mv -f tests/actual/*.json tests/expected/