mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 09:29:55 +01: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");
|
||||
}
|
||||
for (int i = 0; i != det.size(); ++i) {
|
||||
if (prev_val[i].empty()) {
|
||||
continue;
|
||||
}
|
||||
det.setFilePath(prev_val[i], {i});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user