canonical / appstream.dart

Native Dart client library to process Appstream metadata.
https://pub.dev/packages/appstream
Mozilla Public License 2.0
7 stars 5 forks source link

Filter out null keywords. #23

Closed oSoMoN closed 1 year ago

oSoMoN commented 1 year ago

Fixes #22.

oSoMoN commented 1 year ago

Done. This is what the output of flutter test looks like when the fix is reverted in this branch:

00:01 +30 -1: collection - keywords (null values) - yaml [E]                                                                                         
  type 'Null' is not a subtype of type '_Mismatch' in type cast
  package:matcher/src/equals_matcher.dart 272:43  _DeepMatcher.describeMismatch
  package:test_api                                expect
  test/appstream_test.dart 766:5                  main.<fn>
robert-ancell commented 1 year ago

Thanks!