Expect File To Match
data class ExpectFileToMatch(file: String, expectedContent: String) : CompileTest.Expectation
Content copied to clipboard
Checks if the result has a generated file which matches the expectedContent
The content are not compared for pure equality.
In order to make tests more stable the sources strings are preprocessed:
line endings are trimmed
Constructors
ExpectFileToMatch
Link copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
copy
Link copied to clipboard
fun copy(file: String, expectedContent: String): CompileTest.ExpectFileToMatch
Content copied to clipboard