Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test file
  • Loading branch information
tarrinneal committed Feb 22, 2024
commit 9211412f9636eb78e20dfd0283052d5256d9f0c3
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TestPlugin : FlutterPlugin, HostIntegrationCoreApi {
}

override fun throwFlutterError(): Any? {
throw CoreTestsError("code", "message", "details")
throw FlutterError("code", "message", "details")
}

override fun echoInt(anInt: Long): Long {
Expand Down Expand Up @@ -170,7 +170,7 @@ class TestPlugin : FlutterPlugin, HostIntegrationCoreApi {
}

override fun throwAsyncFlutterError(callback: (Result<Any?>) -> Unit) {
callback(Result.failure(CoreTestsError("code", "message", "details")))
callback(Result.failure(FlutterError("code", "message", "details")))
}

override fun echoAsyncAllTypes(everything: AllTypes, callback: (Result<AllTypes>) -> Unit) {
Expand Down