...

Text file src/cmd/go/testdata/script/test_script_cmdcd.txt

Documentation: cmd/go/testdata/script

     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
     4cd $WORK/a/b/c/pkg
     5
     6go list -find -f {{.Root}}
     7stdout $PWD
     8
     9-- $WORK/a/b/c/pkg/go.mod --
    10module pkg
    11
    12-- $WORK/a/b/c/pkg/pkg.go --
    13package pkg

View as plain text