Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ amzn-qdeveloper-streaming-client = { path = "crates/amzn-qdeveloper-streaming-cl
anstream = "0.6.13"
anyhow = "1.0.98"
appkit-nsworkspace-bindings = { path = "crates/macos-utils/appkit-nsworkspace-bindings" }
assert_cmd = "2.0.17" # This version is required for musl builds to succeed
async-trait = "0.1.87"
aws-smithy-runtime-api = "1.6.1"
aws-smithy-types = "1.2.10"
Expand Down
2 changes: 1 addition & 1 deletion crates/figterm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ winapi = { version = "0.3", features = [
winreg = "0.55.0"

[dev-dependencies]
assert_cmd = "2.0.8"
assert_cmd.workspace = true
predicates = "3.0.1"
tempfile.workspace = true
2 changes: 1 addition & 1 deletion crates/figterm/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use predicates::prelude::*;

#[test]
fn version_flag_has_status_code_zero() {
let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("figterm"));
let mut cmd = Command::cargo_bin("figterm").unwrap();
cmd.arg("--version");

cmd.assert()
Expand Down
2 changes: 1 addition & 1 deletion crates/q_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ windows = { version = "0.58.0", features = ["Win32_System_Threading"] }
winapi = { version = "0.3", features = ["consoleapi"] }

[dev-dependencies]
assert_cmd = "2.0"
assert_cmd.workspace = true
criterion = "0.6.0"
insta.workspace = true
paste = "1.0.11"
Expand Down
2 changes: 1 addition & 1 deletion crates/q_cli/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub use predicates::prelude::*;
pub type Result<T, E = Box<dyn std::error::Error>> = std::result::Result<T, E>;

pub fn cli() -> Command {
Command::new(assert_cmd::cargo::cargo_bin!("q_cli"))
Command::cargo_bin("q_cli").unwrap()
}

pub fn is_json() -> FnPredicate<impl Fn(&str) -> bool, str> {
Expand Down
2 changes: 1 addition & 1 deletion crates/q_cli/tests/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macro_rules! init_test {
paste! {
#[cfg(not(windows))]
fn [<init_output_ $shell _ $stage _ $file>]() -> Result<String, Box<dyn std::error::Error>> {
let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("q_cli"));
let mut cmd = Command::cargo_bin("q_cli").unwrap();
cmd.arg("init").arg($shell).arg($stage).arg("--rcfile").arg($file);
cmd.env("Q_INIT_SNAPSHOT_TEST", "1");
let out = cmd.assert().success().get_output().stdout.clone();
Expand Down
Loading