Skip to content

Commit 2b6a75f

Browse files
committed
C++: Accept test changes.
1 parent 1d5d272 commit 2b6a75f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cpp/ql/test/library-tests/dataflow/taint-tests/taint.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -850,9 +850,9 @@ int tolower(int);
850850
void test_toupper_and_tolower() {
851851
int s = source();
852852
int u = toupper(s);
853-
sink(u); // $ MISSING: ast,ir
853+
sink(u); // $ ir MISSING: ast
854854
int l = tolower(s);
855-
sink(l); // $ MISSING: ast,ir
855+
sink(l); // $ ir MISSING: ast
856856
}
857857

858858
typedef int iconv_t;
@@ -864,5 +864,5 @@ void test_iconv(size_t size) {
864864
char* p = out;
865865
size_t size_out;
866866
iconv(0, &s, &size, &p, &size_out);
867-
sink(*p); // $ MISSING: ast,ir
867+
sink(*p); // $ ast,ir
868868
}

cpp/ql/test/library-tests/dataflow/taint-tests/taint.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ WARNING: module 'DataFlow' has been deprecated and may be removed in future (tai
33
WARNING: module 'DataFlow' has been deprecated and may be removed in future (taint.ql:61,22-30)
44
WARNING: module 'DataFlow' has been deprecated and may be removed in future (taint.ql:68,25-33)
55
WARNING: module 'TaintTracking' has been deprecated and may be removed in future (taint.ql:73,20-33)
6-
| taint.cpp:867:7:867:8 | * ... | Fixed missing result: ast |

0 commit comments

Comments
 (0)