Skip to content

Commit 8c94777

Browse files
committed
Allow two-letter locales to be used in test
1 parent 3d6fea4 commit 8c94777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/LocaleOptions.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default function LocaleOptions({
9595
defaultValue={locale}
9696
id="customLocale"
9797
name="customLocale"
98-
pattern="^[a-z]{2}-[A-Z0-9]{2,3}$"
98+
pattern="^[a-z]{2}(-[A-Z0-9]{2,3})?$"
9999
type="text"
100100
/>
101101
 

0 commit comments

Comments
 (0)