Skip to content

Commit 6566b91

Browse files
committed
C++: Add indication that the test result is good
1 parent 1e8daff commit 6566b91

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Likely Bugs/Format/NonConstantFormat/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,5 @@ void fmt_with_assignment() {
161161
const char *x, *y;
162162

163163
x = y = "a";
164-
printf(y);
164+
printf(y); // GOOD
165165
}

0 commit comments

Comments
 (0)