Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/validation/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package validation
const (
MaxRunesAllowedInACharacterName = 29 // Larggest character name length possible
MinRunesAllowedInACharacterName = 2 // Smallest character name length possible
MaxRunesAllowedInACharacterNameWord = 16 // Larggest character name word length possible (new names only 14, but older ones are longer)
MaxRunesAllowedInACharacterNameWord = 20 // Larggest character name word length possible (new names only 14, but older ones are longer)
MinRunesAllowedInACharacterNameWord = 2 // Smallest character name word length possible

MaxRunesAllowedInAGuildName = 29 // Larggest guild name length possible
Expand Down
2 changes: 1 addition & 1 deletion src/validation/validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ func TestFake(t *testing.T) {

assert.Equal(29, MaxRunesAllowedInACharacterName)
assert.Equal(2, MinRunesAllowedInACharacterName)
assert.Equal(16, MaxRunesAllowedInACharacterNameWord)
assert.Equal(20, MaxRunesAllowedInACharacterNameWord)
assert.Equal(2, MinRunesAllowedInACharacterNameWord)

assert.Equal(29, MaxRunesAllowedInAGuildName)
Expand Down