blob: c4509cb5ba63a38948d41bbf600465fec8b733ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
[[runs]]
input = [ "find" ]
expect.exit-code = 0
expect.result = "Search path not provided"
[[runs]]
input = [ "find", "Cargo.toml" ]
expect.exit-code = 0
expect.result = "Not a directory: Cargo.toml"
[[runs]]
input = [ "find", "examples" ]
expect.exit-code = 0
expect.result = "Found directory: examples"
[[runs]]
input = [ "find-structural", "--json" ]
expect.exit-code = 0
expect.result = "{\"name\":\"error_not_found_structural\"}"
[[runs]]
input = [ "find-structural", "Cargo.toml", "--json" ]
expect.exit-code = 0
expect.result = "{\"name\":\"error_not_dir_structural\",\"info\":\"Cargo.toml\"}"
[[runs]]
input = [ "find-structural", "examples", "--json" ]
expect.exit-code = 0
expect.result = "{\"inner\":\"examples\"}"
|