Skip to content

Commit

Permalink
Fix not equal comparison in CI script
Browse files Browse the repository at this point in the history
Apparently `-ne` is only meant for numbers.
  • Loading branch information
CryZe committed Jan 12, 2022
1 parent ab027ef commit 0769b79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ main() {

if [ "$SKIP_CROSS" = "skip" ]; then
cargo=cargo
if [ "$SKIP_AUTO_SPLITTING" -ne "skip" ]; then
if [ "$SKIP_AUTO_SPLITTING" != "skip" ]; then
all_features="--all-features"
fi
fi
Expand Down
2 changes: 2 additions & 0 deletions crates/livesplit-auto-splitting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
//! `env`:
//!
//! ```rust
//! # use core::num::NonZeroU64;
//!
//! #[repr(transparent)]
//! pub struct Address(pub u64);
//!
Expand Down
2 changes: 2 additions & 0 deletions src/auto_splitting/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
//! `env`:
//!
//! ```rust
//! # use core::num::NonZeroU64;
//!
//! #[repr(transparent)]
//! pub struct Address(pub u64);
//!
Expand Down

0 comments on commit 0769b79

Please sign in to comment.