diff --git a/test/data/non-ascii/astral-𝔸.txt b/test/data/non-ascii/astral-𝔸.txt new file mode 100644 index 00000000..8ad2a041 --- /dev/null +++ b/test/data/non-ascii/astral-𝔸.txt @@ -0,0 +1,7 @@ +𝔸 U+1D538 MATHEMATICAL DOUBLE-STRUCK CAPITAL A. UTF-8: [F0 9D 94 B8]. + +This code point is outside of the Unicode BMP (Basic Multilingual Plane), but +its Unicode Category is Lu (Letter, uppercase), so it is still a valid file +path in terms of pkg.go.dev and its golang.org/x/mod/module package: + +https://github.com/golang/mod/blob/dc121ce20ffab6bb810a0f231cfa9c24d3e51b29/module/module.go#L293 diff --git a/test/data/non-ascii/αβ.txt b/test/data/non-ascii/greek-αβ.txt similarity index 100% rename from test/data/non-ascii/αβ.txt rename to test/data/non-ascii/greek-αβ.txt diff --git a/test/data/non-ascii/😻.txt b/test/data/non-ascii/😻.txt deleted file mode 100644 index 98aeba7a..00000000 --- a/test/data/non-ascii/😻.txt +++ /dev/null @@ -1,3 +0,0 @@ -😻 U+1F63B SMILING CAT FACE WITH HEART-SHAPED EYES. UTF-8: [F0 9F 98 BB]. - -This code point is outside of the Unicode BMP (Basic Multilingual Plane).