# HG changeset patch # User Chris Cannam # Date 1556892129 -3600 # Node ID c1208b211d8c89c5032eb01e2133730a9337bdfb # Parent ad33d6c10738023fecd623aff1221e24efecd36c Ensure test fails rather than crashing if this reader doesn't get created diff -r ad33d6c10738 -r c1208b211d8c data/fileio/test/AudioFileReaderTest.h --- 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;