From: Tsuda Kageyu Date: Mon, 18 May 2015 10:03:20 +0000 (+0900) Subject: Add a test to check if an empty ID3v2 frame is really skipped. X-Git-Tag: v1.10beta~92^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8da00134829f61890c0f847716295d77ac013197;p=taglib Add a test to check if an empty ID3v2 frame is really skipped. --- diff --git a/tests/test_id3v2.cpp b/tests/test_id3v2.cpp index c62be280..f4c8517b 100644 --- a/tests/test_id3v2.cpp +++ b/tests/test_id3v2.cpp @@ -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()); } }