mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-10 20:07:14 +02:00
fix tests for fpath: cannot set back to empty anymore (empty is default)
This commit is contained in:
@ -585,6 +585,9 @@ TEST_CASE("fpath", "[.cmdcall]") {
|
|||||||
REQUIRE(oss.str() == "fpath /tmp\n");
|
REQUIRE(oss.str() == "fpath /tmp\n");
|
||||||
}
|
}
|
||||||
for (int i = 0; i != det.size(); ++i) {
|
for (int i = 0; i != det.size(); ++i) {
|
||||||
|
if (prev_val[i].empty()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
det.setFilePath(prev_val[i], {i});
|
det.setFilePath(prev_val[i], {i});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user