1unquote expect 2txtar-c blah 3! stderr .+ 4cmp stdout expect 5 6-- blah/go.mod -- 7module example.com/blah 8 9-- blah/main.go -- 10package main 11 12import "fmt" 13 14func main() { 15 fmt.Println("Hello, world!") 16} 17-- blah/subdir/x -- 18x 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