fixed fail() method, working around a compiler issue (should not be trying to invoke a private method)
This commit is contained in:
@@ -158,6 +158,7 @@ class DefaultAsserter() : Asserter {
|
||||
}
|
||||
}
|
||||
override fun fail(message : String) {
|
||||
throw AssertionError(message)
|
||||
// TODO work around compiler bug as it should never try call the private constructor
|
||||
throw AssertionError(message as Object)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user