This commit was merged in pull request #391.
This commit is contained in:
1 parent
e399cea0b6
commit
9a0d690036
7 files changed
+99
-13
No files matched your search
@@ -223,8 +223,9 @@ mod tests {
|
||||
// Only Python/JS rules check secure defaults.
|
||||
assert!(!secure_defaults.checked_for(&c_only));
|
||||
assert!(secure_defaults.checked_for(&python));
|
||||
// Our C rules and cppcheck check memory safety in C.
|
||||
// Our C rules and cppcheck check memory safety in C, and in C++.
|
||||
assert!(memory_safety.checked_for(&c_only));
|
||||
assert!(memory_safety.checked_for(&["cpp".to_string()]));
|
||||
// gitleaks reads any file, so no language is needed.
|
||||
assert!(secrets.checked_for(&[]));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user