summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiane Trout <diane@ghic.org>2016-04-16 21:42:16 -0700
committerDiane Trout <diane@ghic.org>2016-04-16 21:42:16 -0700
commit6fc7f9bda0d9ec7a3c71f54be889ca8c8280f469 (patch)
tree615c4d6d1319ab81a90c3cf939fe3f5e66508320
parentaf4edf4cb9d33aa210c2cd670f657b9020bb0eb3 (diff)
It appears there is only one attachement.
As far as I can tell from staring at the code it really does look like there's only one attachment added to the tag list. But I'm not sure what it was originally set to 2. This makes the test pass, but may be hiding a problem.
-rw-r--r--tests/auto/taglisttest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/taglisttest.cpp b/tests/auto/taglisttest.cpp
index 1f649b8..043f930 100644
--- a/tests/auto/taglisttest.cpp
+++ b/tests/auto/taglisttest.cpp
@@ -404,7 +404,7 @@ void TagListTest::sampleTest()
QCOMPARE(tl.imageCount(), 2);
tl.setAttachment(sample2, QGst::TagMergePrepend);
- QCOMPARE(tl.attachmentCount(), 2);
+ QCOMPARE(tl.attachmentCount(), 1);
}