Skip to content

Commit

Permalink
update github action ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jul 21, 2022
1 parent 1b65c24 commit ca7376e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Build Release
run: cargo build --release
- name: Run tests
run: cargo test --all
run: cargo test --all -- --nocapture

# Run examples with debug
- name: Run examples with debug
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shadow-rs"
version = "0.15.0"
version = "0.16.0"
authors = ["baoyachi <[email protected]>"]
edition = "2021"
description = "A build-time information stored in your rust project"
Expand Down
2 changes: 1 addition & 1 deletion src/data_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ mod tests {
#[cfg(unix)]
assert!(!std::fs::read("/etc/localtime").unwrap().is_empty());

println!("{}", time); // 2022-07-14 00:40:05 +08:00
println!("local now:{}", time); // 2022-07-14 00:40:05 +08:00
assert_eq!(time.len(), 26);
}

Expand Down

0 comments on commit ca7376e

Please sign in to comment.