Skip to content

Commit

Permalink
STYLE: Use ITK_TRY_EXPECT_NO_EXCEPTION macro in tests
Browse files Browse the repository at this point in the history
Use the `ITK_TRY_EXPECT_NO_EXCEPTION` macro in tests when updating
filters.
  • Loading branch information
jhlegarreta authored and hjmjohnson committed Sep 12, 2022
1 parent 071ceac commit 22802d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ itkFastMarchingImageFilterRealTest2(int itkNotUsed(argc), char * itkNotUsed(argv
adaptor->SetForbiddenImage(maskImage.GetPointer());
ITK_TEST_SET_GET_VALUE(maskImage.GetPointer(), adaptor->GetForbiddenImage());

adaptor->Update();
ITK_TRY_EXPECT_NO_EXCEPTION(adaptor->Update());


marcher->SetForbiddenPoints(adaptor->GetForbiddenPoints());
Expand Down

0 comments on commit 22802d3

Please sign in to comment.