@@ -159,7 +159,8 @@ module InflectorTestCases
159
159
"Trailing bad characters!@#" => "trailing-bad-characters" ,
160
160
"!@#Leading bad characters" => "leading-bad-characters" ,
161
161
"Squeeze separators" => "squeeze-separators" ,
162
- "Test with + sign" => "test-with-sign"
162
+ "Test with + sign" => "test-with-sign" ,
163
+ "Test with malformed utf8 \251 " => "test-with-malformed-utf8"
163
164
}
164
165
165
166
StringToParameterizeWithNoSeparator = {
@@ -168,7 +169,8 @@ module InflectorTestCases
168
169
"Trailing bad characters!@#" => "trailingbadcharacters" ,
169
170
"!@#Leading bad characters" => "leadingbadcharacters" ,
170
171
"Squeeze separators" => "squeezeseparators" ,
171
- "Test with + sign" => "testwithsign"
172
+ "Test with + sign" => "testwithsign" ,
173
+ "Test with malformed utf8 \251 " => "testwithmalformedutf8"
172
174
}
173
175
174
176
StringToParameterizeWithUnderscore = {
@@ -177,12 +179,14 @@ module InflectorTestCases
177
179
"Trailing bad characters!@#" => "trailing_bad_characters" ,
178
180
"!@#Leading bad characters" => "leading_bad_characters" ,
179
181
"Squeeze separators" => "squeeze_separators" ,
180
- "Test with + sign" => "test_with_sign"
182
+ "Test with + sign" => "test_with_sign" ,
183
+ "Test with malformed utf8 \251 " => "test_with_malformed_utf8"
181
184
}
182
185
183
186
StringToParameterizedAndNormalized = {
184
187
"Malmö" => "malmo" ,
185
- "Garçons" => "garcons"
188
+ "Garçons" => "garcons" ,
189
+ "Ops\331 " => "ops"
186
190
}
187
191
188
192
UnderscoreToHuman = {
0 commit comments