C++: Document tests better

This addresses PR comments by @rdmarsh2.
This commit is contained in:
Jonas Jensen
2019-09-11 14:18:05 +02:00
parent ef601cf78e
commit b2df18ab78
3 changed files with 24 additions and 7 deletions

View File

@@ -66,5 +66,5 @@ void test_setThroughNonMember() {
void test_nonMemberSetA() {
S s;
nonMemberSetA(&s, user_input());
sink(nonMemberGetA(&s)); // flow [NOT DETECTED due to lack of flow through &]
sink(nonMemberGetA(&s)); // flow
}