Skip to content

Commit 723ae1b

Browse files
authored
Fix failed test for rust chunk (#998)
* fix(lang-rust): failed test with latest cargo * refactor(rust-lang): simplify tests
1 parent 29282de commit 723ae1b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/lang-rust.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,13 @@
2626
command: [cargo watch --help]
2727
assert:
2828
- status == 0
29-
- stdout.indexOf("cargo-watch") != -1 ||
30-
stderr.indexOf("cargo-watch") != -1
3129
- desc: it should have one of edit(add, rm, upgrade, set-version) subcommand(s) for cargo
3230
entrypoint: [bash, -i, -c]
3331
command: [cargo add --help]
3432
assert:
3533
- status == 0
36-
- stdout.indexOf("cargo-add") != -1 ||
37-
stderr.indexOf("cargo-add") != -1
3834
- desc: it should have workspaces subcommand for cargo
3935
entrypoint: [bash, -i, -c]
4036
command: [cargo workspaces --help]
4137
assert:
4238
- status == 0
43-
- stdout.indexOf("cargo-workspaces") != -1 ||
44-
stderr.indexOf("cargo-workspaces") != -1

0 commit comments

Comments
 (0)