summaryrefslogtreecommitdiffstats
path: root/.cargo-husky
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-09-01 03:08:38 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-09-01 03:08:46 -0400
commit663ae6c5c25a2ef88eff856c202265c8a1455f06 (patch)
treefa11a47464d9088a76f3a89eaef7368f129feff0 /.cargo-husky
parentd24a797ce9a137cbce68d621693dc7db60db2ba8 (diff)
bug: fix broken check from last commit, add tests
Diffstat (limited to '.cargo-husky')
-rwxr-xr-x.cargo-husky/hooks/pre-push9
1 files changed, 7 insertions, 2 deletions
diff --git a/.cargo-husky/hooks/pre-push b/.cargo-husky/hooks/pre-push
index 46fb32d2..3a69d89a 100755
--- a/.cargo-husky/hooks/pre-push
+++ b/.cargo-husky/hooks/pre-push
@@ -1,2 +1,7 @@
-echo "Running pre-push hook: cargo +nightly clippy -- -D clippy::all"
-cargo +nightly clippy -- -D clippy::all \ No newline at end of file
+echo "Running pre-push hook:"
+
+echo "Executing: cargo +nightly clippy -- -D clippy::all"
+cargo +nightly clippy -- -D clippy::all
+
+echo "Executing: cargo test"
+cargo test \ No newline at end of file