diff options
Diffstat (limited to 'tests/test_mpc.cpp')
-rw-r--r-- | tests/test_mpc.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_mpc.cpp b/tests/test_mpc.cpp index 059e521f..25f75944 100644 --- a/tests/test_mpc.cpp +++ b/tests/test_mpc.cpp @@ -151,6 +151,14 @@ public: CPPUNIT_ASSERT_EQUAL(String("ID3v1"), f.properties()["TITLE"].front()); f.strip(MPC::File::ID3v1); CPPUNIT_ASSERT(f.properties().isEmpty()); + f.save(); + } + { + MPC::File f(copy.fileName().c_str()); + CPPUNIT_ASSERT(!f.hasAPETag()); + CPPUNIT_ASSERT(!f.hasID3v1Tag()); + CPPUNIT_ASSERT(f.properties()["TITLE"].isEmpty()); + CPPUNIT_ASSERT(f.properties().isEmpty()); } } |