Skip to content

Commit 5a8d28c

Browse files
committed
Add test case for dot separated usernames.
The proper validation logic has already been implemented as part of #818. This merely adds a test case to verify that solid/solid#157 has been fixed.
1 parent b9d60aa commit 5a8d28c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/create-account-request-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ describe('CreateAccountRequest', () => {
9797
'a-',
9898
'9-',
9999
'alice--bob',
100-
'alice bob'
100+
'alice bob',
101+
'alice.bob'
101102
]
102103

103104
let invalidUsernamesCount = 0

0 commit comments

Comments
 (0)