Skip to content

Commit

Permalink
Fixing example unit test
Browse files Browse the repository at this point in the history
Copy-paste error. Also noticed a warning when running in some situations
about the workspace defaulting to resolver = 1.
  • Loading branch information
ecton committed Aug 24, 2023
1 parent 9711954 commit a05e000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = ["xtask", "pot", "benchmarks"]
resolver = "2"

[profile.bench]
# debug = true
Expand Down
2 changes: 1 addition & 1 deletion pot/examples/preshared-symbols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ fn main() {

#[test]
fn runs() {
main().unwrap();
main();
}

0 comments on commit a05e000

Please sign in to comment.