Skip to content

Commit e51f7ad

Browse files
committed
WIP: Introduce deliberate clang-format violation (expect FAIL)
Add badly formatted code to test that the composite clang-format linter correctly detects and reports style violations. See: InsightSoftwareConsortium/ITKClangFormatLinterAction#23
1 parent 5037ca2 commit e51f7ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/itkCuberilleImageToMeshFilter.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#include "itkMacro.h"
2828
#include "itkMesh.h"
2929
#include "itkImageToMeshFilter.h"
30+
// clang-format violation: bad indentation and spacing
31+
int deliberately_bad_format = 42 ;
3032
#include "itkCellInterface.h"
3133
#include "itkTriangleCell.h"
3234
#include "itkQuadrilateralCell.h"

0 commit comments

Comments
 (0)