From 8da00134829f61890c0f847716295d77ac013197 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Mon, 18 May 2015 19:03:20 +0900 Subject: [PATCH] Add a test to check if an empty ID3v2 frame is really skipped. --- tests/test_id3v2.cpp | 1 + 1 file changed, 1 insertion(+) 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()); } }