lib/test: rename dotted-self-import tests to <mod>_test (#16 PREP-a2)
package L + import P.L is self-import in Go terms regardless of path spelling (the parser drops the dotted prefix); the text-level import-string!=package-name comparison hid these 3 from the PREP-a set. All three verified black-box (qualifier-only exported-API use) — plain rename, dotted imports kept as legit cross-package.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
// the rest of the 9xx stdlib tests; the non-zero exit pinpoints the
|
||||
// failing case. Expected digests come through the (separately tested)
|
||||
// hex.decodestr so the vectors stay readable.
|
||||
package sha256;
|
||||
package sha256_test;
|
||||
|
||||
import bytes;
|
||||
import crypto.sha256;
|
||||
|
||||
Reference in New Issue
Block a user