fixed tests

This commit is contained in:
maliakal_d 2021-08-11 11:12:28 +02:00
parent d5a3ddfe7e
commit f0a0243233

View File

@ -1454,8 +1454,9 @@ TEST_CASE("currentsource", "[.cmd]") {
}
// jungfrau
else {
auto chipVersion = det.getChipVersion().tsquash(
"inconsistent chip versions to test");
int chipVersion = det.getChipVersion().tsquash(
"inconsistent chip versions to test") *
10;
if (chipVersion == 10) {
REQUIRE_THROWS(proxy.Call("currentsource", {"1"}, -1, PUT));
REQUIRE_THROWS(