diff --git a/src/odb/test/cpp/scan/TestScanChain.cpp b/src/odb/test/cpp/scan/TestScanChain.cpp index f111b106ad5..ab572a87ab0 100644 --- a/src/odb/test/cpp/scan/TestScanChain.cpp +++ b/src/odb/test/cpp/scan/TestScanChain.cpp @@ -149,7 +149,6 @@ TEST_F(TestScanChain, CreateScanChainWithPartition) dbScanChain* scan_chain = dbScanChain::create(dft_); dbScanList* scan_list = dbScanList::create(scan_chain); - for (dbInst* inst : instances_) { dbScanInst* scan_inst = scan_list->add(inst); scan_inst->setBits(1); @@ -216,7 +215,7 @@ TEST_F(TestScanChain, CreateScanChainWithPartition) dbSet scan_insts2 = scan_lists2.begin()->getScanInsts(); int i = 0; - for (dbScanInst* scan_inst: scan_insts2) { + for (dbScanInst* scan_inst : scan_insts2) { const dbScanInst::AccessPins& access_pins = scan_inst->getAccessPins(); EXPECT_THAT(GetName(access_pins.scan_in), "a"); EXPECT_THAT(GetName(access_pins.scan_out), "o"); @@ -225,7 +224,6 @@ TEST_F(TestScanChain, CreateScanChainWithPartition) } } - TEST_F(TestScanChain, CreateScanChainWithMultipleScanLists) { dbScanChain* scan_chain = dbScanChain::create(dft_); @@ -248,8 +246,8 @@ TEST_F(TestScanChain, CreateScanChainWithMultipleScanLists) EXPECT_THAT(scan_lists2.size(), 2); int i = 0; - for (dbScanList* scan_list: scan_lists2) { - for (dbScanInst* scan_inst: scan_list->getScanInsts()) { + for (dbScanList* scan_list : scan_lists2) { + for (dbScanInst* scan_inst : scan_list->getScanInsts()) { EXPECT_THAT(scan_inst->getInst()->getName(), instances_[i]->getName()); ++i; }