diff options
author | Richard Hughes <richard@hughsie.com> | 2016-07-27 10:54:02 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-07-27 10:54:02 +0100 |
commit | e5abe0fda12589d53612dae9aebe77f21ebfc2e9 (patch) | |
tree | 69fc328cf42bc780a1dfd0bbd6f36b9df8635765 /libappstream-glib/as-self-test.c | |
parent | c7fa3a21c0ca2719a397b191d742e88a45a265bd (diff) | |
download | appstream-glib-e5abe0fda12589d53612dae9aebe77f21ebfc2e9.tar.gz |
trivial: Remove AsReview.karma as it's implementation specific
Diffstat (limited to 'libappstream-glib/as-self-test.c')
-rw-r--r-- | libappstream-glib/as-self-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index 87ec000..7ab1b33 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -1181,7 +1181,7 @@ as_test_review_func (void) AsNode *root; GString *xml; const gchar *src = - "<review date=\"2016-09-15\" rating=\"80\" karma=\"-1\" id=\"17\">\n" + "<review date=\"2016-09-15\" rating=\"80\" id=\"17\">\n" "<priority>5</priority>\n" "<summary>Hello world</summary>\n" "<description><p>Mighty Fine</p></description>\n" @@ -1212,7 +1212,6 @@ as_test_review_func (void) as_node_unref (root); /* verify */ - g_assert_cmpint (as_review_get_karma (review), ==, -1); g_assert_cmpint (as_review_get_priority (review), ==, 5); g_assert (as_review_get_date (review) != NULL); g_assert_cmpstr (as_review_get_id (review), ==, "17"); |