]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove TestScript/get_unicode and an internal get test case
authorMichael Matloob <matloob@golang.org>
Tue, 1 Sep 2020 19:41:36 +0000 (15:41 -0400)
committerMichael Matloob <matloob@golang.org>
Tue, 1 Sep 2020 21:01:10 +0000 (21:01 +0000)
commit971203cad3c4a5cdfd196a7ad5ce76b550d2ff9f
treed8968a0674204b0538b1624462f21d1c4b248865
parentafa150c2ea1b121c7727c12ab3615fcc173d0d15
cmd/go: remove TestScript/get_unicode and an internal get test case

That test tested that import paths with non-ASCII unicode paths
were allowed by the Go command. Remove this test case because
golang.org/cl/251878 removes that support.

Also rewrite a test case in TestRepoRootForImportPath in the test
for cmd/go/internal/get to reflect that unicode directory names are now
disallowed.

Updates #29101

Change-Id: I669e220facd04fc82ccd05dd08e8f1ff4d48b1fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/252297
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/get/vcs_test.go
src/cmd/go/testdata/script/get_unicode.txt [deleted file]