File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def property_invalid_value_help_text(
150150 suggested_property_name = _contextualize_property_name (
151151 suggested_property_name , context
152152 )
153- summary += f' . Did you mean " { suggested_property_name } "?'
153+ summary += f" . Did you mean ' { suggested_property_name } '?"
154154 return HelpText (summary )
155155
156156
@@ -324,7 +324,7 @@ def color_property_help_text(
324324 error .suggested_color if error and isinstance (error , ColorParseError ) else None
325325 )
326326 if suggested_color :
327- summary += f' . Did you mean " { suggested_color } "?'
327+ summary += f" . Did you mean ' { suggested_color } '?"
328328 return HelpText (
329329 summary = summary ,
330330 bullets = [
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ def test_did_you_mean_for_css_property_names(
203203 displayed_css_property_name = css_property_name .replace ("_" , "-" )
204204 expected_summary = f"Invalid CSS property { displayed_css_property_name !r} "
205205 if expected_property_name_suggestion :
206- expected_summary += f' . Did you mean " { expected_property_name_suggestion } "?'
206+ expected_summary += f" . Did you mean ' { expected_property_name_suggestion } '?"
207207 assert help_text .summary == expected_summary
208208
209209
@@ -243,6 +243,6 @@ def test_did_you_mean_for_color_names(
243243 )
244244
245245 if expected_color_suggestion is not None :
246- expected_error_summary += f' . Did you mean " { expected_color_suggestion } "?'
246+ expected_error_summary += f" . Did you mean ' { expected_color_suggestion } '?"
247247
248248 assert help_text .summary == expected_error_summary
You can’t perform that action at this time.
0 commit comments