Commit 60b14a1
committed
Move tests
These tests used `assert_cmd::carg::cargo_bin`, which is deprecated.
It is meant to be replaced with the macro `assert_cmd::cargo_bin!`,
which required tests to be moved to the `cli` crate.
If tests hadn't been moved, that macro would fail to find the binary,
as the `CARGO_BIN_EXE_*` environment variable with the absolute path
to a binary target’s executable would not have been set.
Moving the tests causes it to be set, and the macro then works.1 parent 95f9d37 commit 60b14a1
23 files changed
Lines changed: 7 additions & 4 deletions
File tree
- cli/tests
- runtimes
- snaps
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| 45 | + | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | | - | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments