# Issue 14444: go get -u .../ duplicate loads errors
# Check that go get update -u ... does not try to load duplicates

env GO111MODULE=off

go get -u -n .../
! stderr 'duplicate loads of' # make sure old packages are removed from cache
