]> granicus.if.org Git - taglib/commitdiff
Add a test to check if an empty ID3v2 frame is really skipped.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Mon, 18 May 2015 10:03:20 +0000 (19:03 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Mon, 18 May 2015 10:03:20 +0000 (19:03 +0900)
tests/test_id3v2.cpp

index c62be2808f35978d43cb78b4801e75a8499e6755..f4c8517b32963b42139f4d8d9c9cd47588b3176b 100644 (file)
@@ -1066,6 +1066,7 @@ public:
 
       ID3v2::Tag *tag = f.ID3v2Tag();
       CPPUNIT_ASSERT_EQUAL(String("Title"), tag->title());
+      CPPUNIT_ASSERT_EQUAL(true, tag->frameListMap()["WOAF"].isEmpty());
     }
   }