| 1 |
# Tests that after a cd command, where usually the UNIX path separator is used, |
| 2 |
# a match against $PWD does not fail on Windows. |
| 3 |
|
| 4 |
cd $WORK/a/b/c/pkg |
| 5 |
|
| 6 |
go list -find -f {{.Root}} |
| 7 |
stdout $PWD |
| 8 |
|
| 9 |
-- $WORK/a/b/c/pkg/go.mod -- |
| 10 |
module pkg |
| 11 |
|
| 12 |
-- $WORK/a/b/c/pkg/pkg.go -- |
| 13 |
package pkg |