Credo.Test.Case.to_source_file
You're seeing just the function
to_source_file
, go back to Credo.Test.Case module for more information.
Converts the given source
string to a %SourceFile{}
.
"x = 5"
|> to_source_file()
Converts the given source
string to a %SourceFile{}
with the given filename
.
"x = 5"
|> to_source_file("simple.ex")