unindented -> unindentPatch
This commit is contained in:
parent
5a521e7bfc
commit
63d0219e9e
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ let getMetadataLoadContext (assemblyPath: string) =
|
|||
|
||||
new MetadataLoadContext(pathAssemblyResolver, typeof<obj>.Assembly.GetName().Name)
|
||||
|
||||
let unindented (s: string) =
|
||||
let unindentPatch (s: string) =
|
||||
let lines = s.Split([| "\r\n"; "\n" |], StringSplitOptions.None)
|
||||
|
||||
let indexOfFirstNonEmptyLine =
|
||||
|
|
@ -114,7 +114,7 @@ let getMutationCases projectPath =
|
|||
| "Mutannot.MutationCaseAttribute" ->
|
||||
Some
|
||||
{ TestName = $"{m.DeclaringType.FullName}.{m.Name}"
|
||||
Patch = attr.ConstructorArguments[0].Value :?> string |> unindented }
|
||||
Patch = attr.ConstructorArguments[0].Value :?> string |> unindentPatch }
|
||||
| _ -> None))
|
||||
|> Seq.toList
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue