Test the env-file-read spellings and log names that mutants survived
This commit is contained in:
@@ -91,7 +91,8 @@ def breaches_of(call: Call, home: str, environ: typing.Mapping[str, str]) -> tup
|
||||
if call.tool == "Read":
|
||||
return "", text(call.given, "file_path"), read_breaches(call, home) + env_file_breaches(call, home)
|
||||
if call.tool == "Grep":
|
||||
return "", text(call.given, "path"), env_file_breaches(call, home)
|
||||
# Only env-file-read checks a Grep, and it takes no override, so no marker or log line concerns the call.
|
||||
return "", "", env_file_breaches(call, home)
|
||||
path = text(call.given, "file_path")
|
||||
if call.tool not in FILE_TOOLS or not path:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user