Skip to content

Commit 0a3275e

Browse files
committed
Rust: One more test case.
1 parent d02d5c5 commit 0a3275e

File tree

1 file changed

+2
-0
lines changed
  • rust/ql/test/library-tests/sensitivedata

1 file changed

+2
-0
lines changed

rust/ql/test/library-tests/sensitivedata/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ fn test_passwords(
2626
password: &str, pass_word: &str, passwd: &str, my_password: &str, password_str: &str,
2727
pass_phrase: &str, passphrase: &str, passPhrase: &str, backup_code: &str,
2828
auth_key: &str, authkey: &str, authKey: &str, authentication_key: &str, authenticationkey: &str, authenticationKey: &str, oauth: &str,
29+
one_time_code: &str,
2930
harmless: &str, encrypted_password: &str, password_hash: &str, passwordFile: &str,
3031
ms: &MyStruct
3132
) {
@@ -48,6 +49,7 @@ fn test_passwords(
4849
sink(authenticationkey); // $ sensitive=password
4950
sink(authenticationKey); // $ sensitive=password
5051
sink(oauth); // $ MISSING: sensitive=password
52+
sink(one_time_code); // $ MISSING: sensitive=password
5153

5254
sink(ms); // $ MISSING: sensitive=password
5355
sink(ms.password.as_str()); // $ sensitive=password

0 commit comments

Comments
 (0)