github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/cmd/txtar-c/testdata/txtar-savedir-self.txt (about) 1 unquote expect 2 txtar-c blah 3 ! stderr .+ 4 cmp stdout expect 5 6 -- blah/go.mod -- 7 module example.com/blah 8 9 -- blah/main.go -- 10 package main 11 12 import "fmt" 13 14 func main() { 15 fmt.Println("Hello, world!") 16 } 17 -- blah/subdir/x -- 18 x contents 19 -- expect -- 20 >-- go.mod -- 21 >module example.com/blah 22 > 23 >-- main.go -- 24 >package main 25 > 26 >import "fmt" 27 > 28 >func main() { 29 > fmt.Println("Hello, world!") 30 >} 31 >-- subdir/x -- 32 >x contents