supabase / postgrest-dart

Dart client for PostgREST
https://supabase.com
MIT License
136 stars 38 forks source link

test: fix test #77

Closed Vinzent03 closed 2 years ago

Vinzent03 commented 2 years ago

Previous test didn't use the custom http client postgrest instance. In addition, test were failing after pass, because then rethrew the error even if onError is given. I made now sure that the return type of onValue and onError is the same.