Skip to content

Commit 8fa5a80

Browse files
jhlegarretadzenanz
authored andcommitted
STYLE: Prefer returning int instead of bool in test method
Prefer returning `int` instead of `bool` in test method in order to keep consistency in testing methods that return `EXIT_SUCCESS`/`EXIT_FAILURE`.
1 parent cc09251 commit 8fa5a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Filtering/LabelMap/test/itkShapeLabelMapFilterGTest.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class ShapeLabelMapFixture : public ::testing::Test
9898
return false;
9999
}
100100

101-
static bool
101+
static int
102102
TestBasicObjectProperties()
103103
{
104104
using L2SType = itk::LabelImageToShapeLabelMapFilter<ImageType>;

0 commit comments

Comments
 (0)