File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
cot-cli/tests/snapshot_testing Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ assert_cmd = "2"
6060async-stream = " 0.3"
6161async-trait = " 0.1"
6262axum = { version = " 0.8" , default-features = false }
63- backtrace = " 0.3"
63+ backtrace = " 0.3.76 "
6464bytes = " 1.10"
6565cargo_toml = " 0.22"
6666chrono = { version = " 0.4.42" , default-features = false }
Original file line number Diff line number Diff line change 11use std:: process:: Command ;
22
3- pub ( crate ) use assert_cmd:: prelude:: * ;
43pub ( crate ) use insta_cmd:: assert_cmd_snapshot;
54
65pub ( crate ) use crate :: cot_cli;
@@ -63,7 +62,7 @@ pub(crate) fn cot_cli_cmd() -> Command {
6362 if let Ok ( np) = std:: env:: var ( "COT_CLI_TEST_CMD" ) {
6463 Command :: new ( np)
6564 } else {
66- Command :: cargo_bin ( "cot" ) . expect ( "cot-cli should be executable" )
65+ Command :: new ( assert_cmd :: cargo :: cargo_bin! ( "cot" ) )
6766 }
6867}
6968
You can’t perform that action at this time.
0 commit comments