Skip to content

Commit 328842e

Browse files
committed
Fix minor formatting in the test file
1 parent 51c0778 commit 328842e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/misra/test/rules/RULE-8-7-1/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ void row_reader(int row[3]) {
154154
int x1 = row[0]; // COMPLIANT: pointer is within boundary
155155
int x2 = row[1]; // COMPLIANT: pointer is within boundary
156156
int x3 = row[2]; // COMPLIANT[FALSE_POSITIVE]: pointer is within boundary
157-
int x4 = row[3]; // COMPLIANT[FALSE_POSITIVE]: pointer points one beyond the last
158-
// element, but non-compliant to Rule 4.1.3
157+
int x4 = row[3]; // COMPLIANT[FALSE_POSITIVE]: pointer points one beyond the
158+
// last element, but non-compliant to Rule 4.1.3
159159
int x5 = row[4]; // NON_COMPLIANT: pointer points more than one
160160
// beyond the last element
161161
}

0 commit comments

Comments
 (0)