File tree Expand file tree Collapse file tree 3 files changed +53
-59
lines changed
cot-cli/tests/snapshot_testing Expand file tree Collapse file tree 3 files changed +53
-59
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ 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 }
6767chrono-tz = { version = " 0.10.4" , default-features = false }
68- clap = { version = " 4" , features = [" deprecated" ] }
68+ clap = { version = " 4.5.51 " , features = [" deprecated" ] }
6969clap-verbosity-flag = { version = " 3" , default-features = false }
7070clap_complete = " 4"
71- clap_mangen = " 0.2.29 "
71+ clap_mangen = " 0.2.31 "
7272cot = { version = " 0.4.0" , path = " cot" }
7373cot_codegen = { version = " 0.4.0" , path = " cot-codegen" }
7474cot_macros = { version = " 0.4.0" , path = " cot-macros" }
@@ -129,7 +129,7 @@ sync_wrapper = "1"
129129tempfile = " 3"
130130thiserror = " 2"
131131time = { version = " 0.3.44" , default-features = false }
132- tokio = { version = " 1.47 " , default-features = false }
132+ tokio = { version = " 1.48 " , default-features = false }
133133toml = { version = " 0.9" , default-features = false }
134134tower = " 0.5.2"
135135tower-livereload = " 0.9.6"
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