summaryrefslogtreecommitdiff
path: root/data/tests
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-02-21 10:46:08 +0000
committerRichard Hughes <richard@hughsie.com>2017-02-21 10:46:10 +0000
commit72789b6ff59f5d1741d1cbc29e90bfa57079c514 (patch)
tree97577c6d48b075d7ef5e82ee101e9a9ce7ee36a2 /data/tests
parent21a921643fc77c5dae7b92a2566e90531cef3806 (diff)
downloadappstream-glib-72789b6ff59f5d1741d1cbc29e90bfa57079c514.tar.gz
Fail to validate if any release is in the future
Fixes: https://github.com/hughsie/appstream-glib/issues/153
Diffstat (limited to 'data/tests')
-rw-r--r--data/tests/broken.appdata.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/tests/broken.appdata.xml b/data/tests/broken.appdata.xml
index 259741c..68071d8 100644
--- a/data/tests/broken.appdata.xml
+++ b/data/tests/broken.appdata.xml
@@ -39,6 +39,11 @@
<p>This is a duplicate release on the same day!</p>
</description>
</release>
+ <release date="2020-01-01" version="0.6.2">
+ <description>
+ <p>This is a release in the future!</p>
+ </description>
+ </release>
<release>
<description>
<p>too little text.</p>