From e72a98903f34c9802907dfc8fd3fba16b9d2dc86 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 26 Aug 2019 23:23:33 +0200 Subject: Fix spelling and typos --- tests/test_fileref.cpp | 6 +++--- tests/test_id3v2.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/test_fileref.cpp b/tests/test_fileref.cpp index 8394b875..afdc140c 100644 --- a/tests/test_fileref.cpp +++ b/tests/test_fileref.cpp @@ -292,12 +292,12 @@ public: { fileRefSave("alaw", ".aifc"); } - + void testDSF() { fileRefSave("empty10ms",".dsf"); } - + void testDSDIFF() { fileRefSave("empty10ms",".dff"); @@ -314,7 +314,7 @@ public: void testCreate() { - // This is depricated. But worth it to test. + // This is deprecated. But worth it to test. File *f = FileRef::create(TEST_FILE_PATH_C("empty_vorbis.oga")); CPPUNIT_ASSERT(dynamic_cast(f)); diff --git a/tests/test_id3v2.cpp b/tests/test_id3v2.cpp index 8c6f67dc..0e36d77f 100644 --- a/tests/test_id3v2.cpp +++ b/tests/test_id3v2.cpp @@ -56,8 +56,8 @@ class PublicFrame : public ID3v2::Frame public: PublicFrame() : ID3v2::Frame(ByteVector("XXXX\0\0\0\0\0\0", 10)) {} String readStringField(const ByteVector &data, String::Type encoding, - int *positon = 0) - { return ID3v2::Frame::readStringField(data, encoding, positon); } + int *position = 0) + { return ID3v2::Frame::readStringField(data, encoding, position); } virtual String toString() const { return String(); } virtual void parseFields(const ByteVector &) {} virtual ByteVector renderFields() const { return ByteVector(); } -- cgit v1.2.3