remove newline separators in mutation output

pull/2302/head
bohendo 10 months ago
parent 1bd279a017
commit e3365a7f95
No known key found for this signature in database
  1. 4
      slither/tools/mutator/utils/testing_generated_mutant.py

@ -85,7 +85,7 @@ def test_patch( # pylint: disable=too-many-arguments
create_mutant_file(file, index, generator_name)
print(
green(
f"String '{patch['old_string']}' replaced with '{patch['new_string']}' at line no. '{patch['line_number']}' ---> VALID\n"
f"String '{patch['old_string']}' replaced with '{patch['new_string']}' at line no. '{patch['line_number']}' ---> VALID"
)
)
return True
@ -94,7 +94,7 @@ def test_patch( # pylint: disable=too-many-arguments
if verbose:
print(
red(
f"String '{patch['old_string']}' replaced with '{patch['new_string']}' at line no. '{patch['line_number']}' ---> INVALID\n"
f"String '{patch['old_string']}' replaced with '{patch['new_string']}' at line no. '{patch['line_number']}' ---> INVALID"
)
)
return False

Loading…
Cancel
Save