summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-self-test.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-12-07 10:59:50 +0000
committerRichard Hughes <richard@hughsie.com>2016-12-07 11:01:16 +0000
commit44b5acdc4332540b6cda6def59e156a1319f5585 (patch)
tree8d75d4b307a43daa32cb78be5c1fff18e3807276 /libappstream-builder/asb-self-test.c
parent3c4cfd91bcbbc749f482fbd15bf72c9d32b67a11 (diff)
downloadappstream-glib-44b5acdc4332540b6cda6def59e156a1319f5585.tar.gz
trivial: Don't include trailing whitespace from AppData files
Translators sometimes leave extra whitespace, so if we're parsing without AS_NODE_FROM_XML_FLAG_LITERAL_TEXT then just swallow the trailing spaces.
Diffstat (limited to 'libappstream-builder/asb-self-test.c')
-rw-r--r--libappstream-builder/asb-self-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index 8515176..1c60322 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -550,7 +550,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<li>Speed up the auto-scaled measurements considerably, using 256ms "
"as the smallest sample duration</li></ul></description>\n"
"<size type=\"installed\">14</size>\n"
- "<size type=\"download\">2011</size>\n"
+ "<size type=\"download\">2015</size>\n"
"</release>\n"
"</releases>\n"
"<provides>\n"
@@ -835,7 +835,7 @@ asb_test_firmware_func (void)
"<li>Speed up the auto-scaled measurements considerably, using 256ms "
"as the smallest sample duration</li></ul></description>\n"
"<size type=\"installed\">14</size>\n"
- "<size type=\"download\">2011</size>\n"
+ "<size type=\"download\">2015</size>\n"
"</release>\n"
"<release timestamp=\"1424116753\" version=\"2.0.1\">\n"
"<location>http://www.hughski.com/downloads/colorhug2/firmware/colorhug-2.0.1.cab</location>\n"