mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Scroll view widget
This commit is contained in:
@@ -90,7 +90,7 @@ def test_did_you_mean_for_css_property_names(
|
||||
|
||||
_, help_text = err.value.errors.rules[0].errors[0] # type: Any, HelpText
|
||||
displayed_css_property_name = css_property_name.replace("_", "-")
|
||||
expected_summary = f"Invalid CSS property [i]{displayed_css_property_name}[/]"
|
||||
expected_summary = f"Invalid CSS property {displayed_css_property_name!r}"
|
||||
if expected_property_name_suggestion:
|
||||
expected_summary += f'. Did you mean "{expected_property_name_suggestion}"?'
|
||||
assert help_text.summary == expected_summary
|
||||
|
||||
Reference in New Issue
Block a user