[Native][tests] Fix "outputChecker cannot be serialized" Gradle issue

This commit is contained in:
Dmitriy Dolovov
2021-11-10 11:19:00 +03:00
parent 57543f5b19
commit f3397dfeca
@@ -52,7 +52,7 @@ class RunExternalTestGroup extends JavaExec implements CompilerRunner {
@Optional
String goldValue = null
@Input
@Internal
// Checks test's output against gold value and returns true if the output matches the expectation
Function<String, Boolean> outputChecker = { str -> (goldValue == null || goldValue == str) }