diff options
author | Richard Hughes <richard@hughsie.com> | 2017-05-27 18:05:26 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-05-27 18:05:26 +0100 |
commit | 1646993195b2fcf1efdccfdcc437d7d808293528 (patch) | |
tree | e736a98bcd60d8d7eae65469c19f55287579e201 /libappstream-glib/as-self-test.c | |
parent | d0f46c67a701d7d0aa7ef521224d714cb755bce4 (diff) | |
download | appstream-glib-1646993195b2fcf1efdccfdcc437d7d808293528.tar.gz |
Add the limits in the validation output messages
Resolves: https://github.com/hughsie/appstream-glib/issues/171
Diffstat (limited to 'libappstream-glib/as-self-test.c')
-rw-r--r-- | libappstream-glib/as-self-test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 218f4b6..9783c73 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -1928,6 +1928,9 @@ as_test_app_validate_check (GPtrArray *array, tmp = g_strrstr (message_no_data, " ["); if (tmp != NULL) *tmp = '\0'; + tmp = g_strrstr (message_no_data, ", "); + if (tmp != NULL) + *tmp = '\0'; if (g_strcmp0 (message_no_data, message) == 0) return; } |