GitHub Actions / Test Results Dart Object X64
failed
Jun 12, 2024 in 0s
1867 passed, 1 failed and 43 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test-results.json | 1867✅ | 1❌ | 43⚪ | 309s |
Annotations
Check failure on line 245 in test/results_test.dart
github-actions / Test Results Dart Object X64
test/results_test.dart ► Results query with wrong argument types (bool for int) throws
Failed test found in:
test-results.json
Error:
Expected: throws <Instance of 'RealmException'> with `message`: contains 'Cannot compare argument'
Actual: <Closure: () => RealmResults<Dog>>
Which: threw RealmException:<RealmException: Unsupported comparison between type 'int' and type 'bool'. Error code: 1009.>
stack package:realm_dart/src/handles/native/error_handling.dart 59:9 _raiseLastError.<fn>
package:ffi/src/arena.dart 124:31 using
package:realm_dart/src/handles/native/error_handling.dart 48:3 _raiseLastError
package:realm_dart/src/handles/native/error_handling.dart 16:7 PointerEx.raiseLastErrorIfNull
package:realm_dart/src/handles/native/handle_base.dart 53:14 new HandleBase
package:realm_dart/src/handles/native/rooted_handle.dart 29:63 new RootedHandleBase
package:realm_dart/src/handles/native/query_handle.dart 13:65 new QueryHandle
package:realm_dart/src/handles/native/results_handle.dart 32:27 ResultsHandle.queryResults.<fn>
package:ffi/src/arena.dart 124:31 using
package:realm_dart/src/handles/native/results_handle.dart 26:12 ResultsHandle.queryResults
package:realm_dart/src/results.dart 179:32 RealmResultsOfObject.query
test/results_test.dart 245:35 main.<fn>.<fn>
package:matcher expect
test/results_test.dart 245:5 main.<fn>
which has `message` with value 'Unsupported comparison between type \'int\' and type \'bool\'. Error code: 1009.' which does not contain 'Cannot compare argument'
Raw output
package:matcher expect
test/results_test.dart 245:5 main.<fn>
Loading