Browse Source

asciifolding test apples from MB-33486

Steve Yen 2 months ago
parent
commit
6ba04b0f81
1 changed files with 4 additions and 0 deletions
  1. 4 0
      analysis/char/asciifolding/asciifolding_test.go

+ 4 - 0
analysis/char/asciifolding/asciifolding_test.go

@@ -43,6 +43,10 @@ func TestAsciiFoldingFilter(t *testing.T) {
 			// composite unicode runes are folded to more than one ASCII rune
 			input:  []byte(`ÆꜴ`),
 			output: []byte(`AEAO`),
+		}, {
+			// apples from https://issues.couchbase.com/browse/MB-33486
+			input:  []byte(`Ápple Àpple Äpple Âpple Ãpple Åpple`),
+			output: []byte(`Apple Apple Apple Apple Apple Apple`),
 		},
 	}