mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
test: fix usage of findDataFile()
misused 'optional' mode
This commit is contained in:
@@ -75,7 +75,7 @@ TEST_P(Objdetect_QRCode, regression)
|
||||
ASSERT_TRUE(qrcode.detect(src, corners));
|
||||
#endif
|
||||
|
||||
const std::string dataset_config = findDataFile(root + "dataset_config.json", false);
|
||||
const std::string dataset_config = findDataFile(root + "dataset_config.json");
|
||||
FileStorage file_config(dataset_config, FileStorage::READ);
|
||||
ASSERT_TRUE(file_config.isOpened()) << "Can't read validation data: " << dataset_config;
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user