Skip to content

Commit

Permalink
Fix test case for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Mar 3, 2024
1 parent 92b87e0 commit 09ed8ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ script:
- >
coverage run -a --source=opshin -m opshin build spending examples/smart_contracts/wrapped_token.py '{"bytes": "ae810731b5d21c0d182d89c60a1eff7095dffd1c0dce8707a8611099"}' '{"bytes": "4d494c4b"}' '{"int": 1000000}' --force-three-params
- >
test ! -n "$(coverage run -a --source=opshin -m opshin lint any examples/smart_contracts/wrapped_token.py)"
test ! -n "$(coverage run -a --source=opshin -m opshin lint any examples/smart_contracts/always_true.py)"
- >
test -n "$(coverage run -a --source=opshin -m opshin lint any examples/smart_contracts/wrapped_token.py)"
- >
test -n "$(coverage run -a --source=opshin -m opshin lint any examples/broken.py)"
- >
Expand Down

0 comments on commit 09ed8ef

Please sign in to comment.