Skip to content

Commit f3c0c42

Browse files
committed
Fix
1 parent 891705f commit f3c0c42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

coderd/httpapi/name_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,12 @@ func TestUserRealNameValid(t *testing.T) {
222222
{"A1", true},
223223
{".", true},
224224
{"Mr Bean", true},
225-
{"John Doe", true},
225+
{"Severus Snape", true},
226+
{"Prof. Albus Percival Wulfric Brian Dumbledore", true},
226227
{". .", true},
227228

228-
{"John Doe ", false},
229-
{" John Doe", false},
229+
{"Lord Voldemort ", false},
230+
{" Bellatrix Lestrange", false},
230231
{" ", false},
231232
}
232233
for _, testCase := range testCases {

0 commit comments

Comments
 (0)