Skip to content

Commit

Permalink
Merge pull request #356 from boozook/post/353-bump
Browse files Browse the repository at this point in the history
Follow-up for #353 - improve one more test, bump version
  • Loading branch information
boozook authored May 9, 2024
2 parents 4e72897 + 5a04e30 commit 3d6f831
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-playdate"
version = "0.4.10"
version = "0.4.11"
readme = "README.md"
description = "Build tool for neat yellow console."
keywords = ["playdate", "build", "cargo", "plugin", "cargo-subcommand"]
Expand Down
9 changes: 6 additions & 3 deletions cargo/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,9 +789,12 @@ mod tests {
#[test]
fn init_standalone() -> CargoResult<()> {
let mut cwd = std::env::current_dir()?;
if !cwd.ends_with("tests/crates/simple/no-cfg") {
// this check needed because tests can run in one process
cwd.push(PathBuf::from("tests/crates/simple/no-cfg"))
{
let crate_path = PathBuf::from("tests/crates/simple/no-cfg");
if !cwd.ends_with(&crate_path) {
// this check needed because tests can run in one process
cwd.push(crate_path)
}
}
println!("PWD: {}", cwd.display());
std::env::set_current_dir(cwd)?;
Expand Down

0 comments on commit 3d6f831

Please sign in to comment.