diff --git a/.justfile b/.justfile index e6d95d8..871c43b 100644 --- a/.justfile +++ b/.justfile @@ -74,10 +74,17 @@ alias rb := release-build # Lint, check formatting and run tests [group('checks')] -check: lint format-check test +check: format-check lint cargo-check test alias c := check +# Run cargo check +[group('checks')] +cargo-check: + cargo check --workspace + +alias cc := cargo-check + # Lint with Clippy [group('checks')] lint: @@ -94,7 +101,7 @@ alias fc := format-check # Run tests [group('checks')] -test: build +test: cargo test alias t := test diff --git a/src/main.rs b/src/main.rs index 8051b92..e47ffa1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,11 +84,3 @@ async fn main() { } } } - -#[cfg(test)] -mod tests { - #[test] - fn fail() { - assert_eq!(0_i32, 1_i32); - } -}