From 5d6b9fd27cd5c640e5b50e3b3d6292c8d8a0f32a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 17 Aug 2021 12:01:33 -0400 Subject: Correct an error message Update affected tests Fixes: #598 --- pango/pango-markup.c | 2 +- tests/markups/fail-17.expected | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-markup.c b/pango/pango-markup.c index 91def193..d4421711 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -1574,7 +1574,7 @@ span_parse_func (MarkupData *md G_GNUC_UNUSED, g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT, - _("'%s' is not a valid value for the 'stretch' " + _("'%s' is not a valid value for the 'gravity' " "attribute on tag, line %d; valid " "values are for example 'south', 'east', " "'north', 'west'"), diff --git a/tests/markups/fail-17.expected b/tests/markups/fail-17.expected index fb55ffbf..b3abe9d6 100644 --- a/tests/markups/fail-17.expected +++ b/tests/markups/fail-17.expected @@ -1 +1 @@ -ERROR: 'auto' is not a valid value for the 'stretch' attribute on tag, line 1; valid values are for example 'south', 'east', 'north', 'west' \ No newline at end of file +ERROR: 'auto' is not a valid value for the 'gravity' attribute on tag, line 1; valid values are for example 'south', 'east', 'north', 'west' \ No newline at end of file -- cgit v1.2.1