Debian Codegraph @

cmd/txtar-c/testdata/all.txt

raw
1 unquote expect-all
2 unquote expect-no-all
3
4 # Without the -a flag, it should ignore . files.
5 txtar-c blah
6 ! stderr .+
7 cmp stdout expect-no-all
8
9 # With the -a flag, it should include them.
10 txtar-c -a blah
11 ! stderr .+
12 cmp stdout expect-all
13
14 -- blah/.foo/foo --
15 foo
16 -- blah/.other --
17 other
18 -- blah/go.mod --
19 module example.com/blah
20
21 -- blah/main.go --
22 package main
23
24 import "fmt"
25
26 func main() {
27 fmt.Println("Hello, world!")
28 }
29 -- expect-all --
30 >-- .foo/foo --
31 >foo
32 >-- .other --
33 >other
34 >-- go.mod --
35 >module example.com/blah
36 >
37 >-- main.go --
38 >package main
39 >
40 >import "fmt"
41 >
42 >func main() {
43 > fmt.Println("Hello, world!")
44 >}
45 -- expect-no-all --
46 >-- go.mod --
47 >module example.com/blah
48 >
49 >-- main.go --
50 >package main
51 >
52 >import "fmt"
53 >
54 >func main() {
55 > fmt.Println("Hello, world!")
56 >}