pkg/path: fix test failures when executed with -count N
When executed with `go test -count 2`, the global array of test cases
was overridden with expectations for Windows and then re-used for
Unix tests.
Signed-off-by: Roman Mazur <roman@rmazur.io>
Change-Id: Idcb1f0126598391d41de32f1fde282c1bc9ccbc2
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1225628
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
authored by