Skip to content

Commit

Permalink
Include command args in test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
regexident committed Oct 22, 2024
1 parent bbe5c12 commit cca30b8
Show file tree
Hide file tree
Showing 211 changed files with 1,061 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: No binary target found with name "foobar".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: No binary target found with name "foobar".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: Multiple packages present in workspace,
please explicitly select one via --package flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: No binary target found with name "foobar".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: No binary target found with name "foobar".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: Multiple packages present in workspace,
please explicitly select one via --package flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: No binary target found with name "foobar".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
foobar

STDERR:
Error: No binary target found with name "foobar".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
package_bin_target

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
package_multi_target

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
package_bin_target

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
package_multi_target

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
package_bin_target

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--bin
package_multi_target

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--cfg-test

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__colors__ansi__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__colors__plain__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__colors__truecolor__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:
Error: Multiple targets present in package,
please explicitly select one via --lib or --bin flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:
Error: Multiple targets present in package,
please explicitly select one via --lib or --bin flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:
Error: Multiple targets present in package,
please explicitly select one via --lib or --bin flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__fields__enum_fields.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__fields__struct_fields.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__fields__tuple_fields.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
3 changes: 3 additions & 0 deletions tests/snapshots/dependencies__fields__union_fields.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies

STDERR:

STDOUT:
Expand Down
5 changes: 5 additions & 0 deletions tests/snapshots/dependencies__focus_on__glob_path__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--focus-on
smoke::visibility::*

STDERR:

STDOUT:
Expand Down
5 changes: 5 additions & 0 deletions tests/snapshots/dependencies__focus_on__self_path__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--focus-on
smoke::visibility::dummy::{self}

STDERR:

STDOUT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--focus-on
smoke::visibility::dummy

STDERR:

STDOUT:
Expand Down
5 changes: 5 additions & 0 deletions tests/snapshots/dependencies__focus_on__use_tree__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
source: tests/dependencies.rs
expression: output
---
CMD:
dependencies
--focus-on
smoke::visibility::{dummy, hierarchy}

STDERR:

STDOUT:
Expand Down
Loading

0 comments on commit cca30b8

Please sign in to comment.