| 1 |
unquote expect |
| 2 |
txtar-addmod - github.com/gobin-testrepos/simple-main |
| 3 |
cmp stdout expect |
| 4 |
! stderr .+ |
| 5 |
-- expect -- |
| 6 |
>-- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/.mod -- |
| 7 |
>module github.com/gobin-testrepos/simple-main |
| 8 |
>-- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/.info -- |
| 9 |
>{"Version":"v1.0.0","Time":"2018-10-22T18:45:39Z"} |
| 10 |
>-- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/go.mod -- |
| 11 |
>module github.com/gobin-testrepos/simple-main |
| 12 |
>-- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/main.go -- |
| 13 |
>package main |
| 14 |
> |
| 15 |
>import "fmt" |
| 16 |
> |
| 17 |
>func main() { |
| 18 |
> fmt.Println("I am a simple module-based main") |
| 19 |
>} |