Commit b2b5001
authored
fix: include period in name validation error message (#6366)
The error message for invalid gem names listed only "letters, numbers,
dashes, and underscores" as allowed characters, but `Patterns::NAME_PATTERN`
also permits periods via `SPECIAL_CHARACTERS`. Updated the message and
corresponding test assertion to include "periods" for consistency.
Fixes #6349
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>1 parent 333af6c commit b2b5001
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments