Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Sep 13, 2024
1 parent 085459f commit cc39dc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- uses: taiki-e/install-action@nextest
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
uses: actions-rs/cargo@v1
with:
command: generate-lockfile
# https://twitter.com/jonhoo/status/1571290371124260865
- name: cargo test --locked
uses: actions-rs/cargo@v1
with:
command: test
args: --locked --all-features --all-targets
run: cargo nextest run --locked --all-features --all-targets
# minimal:
# runs-on: ubuntu-latest
# name: ubuntu / stable / minimal-versions
Expand Down
2 changes: 1 addition & 1 deletion arma-rs-example/src/call_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ mod tests {
0,
);
assert_eq!(code, 0);
assert_eq!(result, "Unknown,Console,None,Singleplayer");
assert_eq!(result, "Unknown,Console,None,Singleplayer,0");
}
}

0 comments on commit cc39dc4

Please sign in to comment.