Skip to content

Commit

Permalink
Cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Jan 17, 2024
1 parent b76ac86 commit 409cf35
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/soroban-cli/src/commands/contract/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ mod tests {
assert!(!project_dir.as_path().join("Cargo.lock").exists());
assert!(!project_dir.as_path().join(".vscode").exists());

temp_dir.close().unwrap()
temp_dir.close().unwrap();
}

#[test]
Expand Down Expand Up @@ -317,11 +317,10 @@ mod tests {
.join("alloc")
.join("Cargo.toml");
let cargo_toml_str = read_to_string(contract_cargo_path).unwrap();
println!("{}", cargo_toml_str);

assert!(cargo_toml_str.contains("soroban-sdk = { workspace = true }"));

temp_dir.close().unwrap()
temp_dir.close().unwrap();
}

#[test]
Expand All @@ -342,6 +341,6 @@ mod tests {
.join("atomic_swap")
.exists());

temp_dir.close().unwrap()
temp_dir.close().unwrap();
}
}

0 comments on commit 409cf35

Please sign in to comment.