diff data/fileio/test/AudioFileReaderTest.h @ 1700:c1208b211d8c single-point

Ensure test fails rather than crashing if this reader doesn't get created
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 03 May 2019 15:02:09 +0100
parents dbd13eb7dad1
children 83cb6e9d769b
line wrap: on
line diff
--- a/data/fileio/test/AudioFileReaderTest.h	Fri May 03 13:44:45 2019 +0100
+++ b/data/fileio/test/AudioFileReaderTest.h	Fri May 03 15:02:09 2019 +0100
@@ -315,6 +315,8 @@
             }
         }
 
+        QVERIFY(reader != nullptr);
+
         QString extension;
         sv_samplerate_t fileRate;
         int channels;