Skip to content

Commit 574f7d8

Browse files
committed
Test email domain NFC normalization
1 parent ea95d39 commit 574f7d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/components/email_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@
8282
{ input: '[email protected]', output: '[email protected]' },
8383
{ input: '[email protected].', output: '[email protected]' },
8484
{ input: '[email protected]...', output: '[email protected]' },
85+
{ input: "example@bu\u0308cher.com", output: '[email protected]' },
86+
{ input: "example@b\u00FCcher.com", output: '[email protected]' },
8587
]
8688

8789
tests.each do |i|

0 commit comments

Comments
 (0)