Skip to content

Commit

Permalink
STYLE: Prefer returning int instead of bool in test method
Browse files Browse the repository at this point in the history
Prefer returning `int` instead of `bool` in test method in order to
keep consistency in testing methods that return
`EXIT_SUCCESS`/`EXIT_FAILURE`.
  • Loading branch information
jhlegarreta authored and dzenanz committed Jan 13, 2022
1 parent cc09251 commit 8fa5a80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ShapeLabelMapFixture : public ::testing::Test
return false;
}

static bool
static int
TestBasicObjectProperties()
{
using L2SType = itk::LabelImageToShapeLabelMapFilter<ImageType>;
Expand Down

0 comments on commit 8fa5a80

Please sign in to comment.