contenttype tests: better assertions
authorMatthias Clasen <mclasen@redhat.com>
Sat, 21 Dec 2013 16:56:24 +0000 (11:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 21 Dec 2013 18:22:00 +0000 (13:22 -0500)
commitfc828c4de8b8de0e8c8469877f9c148616bb5b96
tree2a0e8eee512dadffe8ed99723c865bc5040d2ef2
parent6d8ac1125e326a09dd324543ad3150f5e9159c13
contenttype tests: better assertions

I recently had to track down why these tests failed. Turned
out that some rogue package on my system had installed mime
types that declared all files with 3 letter names to be
'chemical/x-turbomole-vibrational'.
This change will make it more obvious what is going on by
mentioning the mime types in the assertion message.
gio/tests/contenttype.c