Add test for invalid schemars attributes
This commit is contained in:
parent
b0a2f9994b
commit
4197bf4183
6 changed files with 54 additions and 2 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue