diff options
Diffstat (limited to 'libappstream-glib/as-self-test.c')
-rw-r--r-- | libappstream-glib/as-self-test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index fb4ccf8..d5fa597 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -2194,8 +2194,6 @@ as_test_app_validate_file_bad_func (void) as_test_app_validate_check (probs, AS_PROBLEM_KIND_TAG_INVALID, "<release> versions are not in order"); as_test_app_validate_check (probs, AS_PROBLEM_KIND_TAG_INVALID, - "<release> timestamps are not in order"); - as_test_app_validate_check (probs, AS_PROBLEM_KIND_TAG_INVALID, "<release> version was duplicated"); as_test_app_validate_check (probs, AS_PROBLEM_KIND_ATTRIBUTE_INVALID, "<release> timestamp is in the future"); @@ -2203,7 +2201,7 @@ as_test_app_validate_file_bad_func (void) "<content_rating> required for game"); as_test_app_validate_check (probs, AS_PROBLEM_KIND_MARKUP_INVALID, "<id> has invalid character"); - g_assert_cmpint (probs->len, ==, 35); + g_assert_cmpint (probs->len, ==, 34); /* again, harder */ probs2 = as_app_validate (app, AS_APP_VALIDATE_FLAG_STRICT, &error); @@ -2211,7 +2209,7 @@ as_test_app_validate_file_bad_func (void) g_assert (probs2 != NULL); as_test_app_validate_check (probs2, AS_PROBLEM_KIND_TAG_INVALID, "XML data contains unknown tag"); - g_assert_cmpint (probs2->len, ==, 41); + g_assert_cmpint (probs2->len, ==, 40); } static void |