From 09ed8ef9c982fb4d8aa38b10a2d20a7e406308f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=BCndler?= Date: Sun, 3 Mar 2024 18:36:06 +0100 Subject: [PATCH] Fix test case for linting --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0467ed1a..9492ad6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)" - >