Skip to content

Commit

Permalink
Merge pull request #360 from mulvad/fix-for-316
Browse files Browse the repository at this point in the history
Fix for 316
  • Loading branch information
larryaasen authored Apr 1, 2024
2 parents 8e830d2 + 370cbd8 commit b7a0db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/src/itunes_search_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class ITunesSearchAPI {
print(
'upgrader.ITunesSearchAPI: results are empty: $decodedResults');
}
return null;
}
return decodedResults;
}
Expand Down
5 changes: 1 addition & 4 deletions test/itunes_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ void main() {

final response = await iTunes.lookupByBundleId('com.google.MyApp',
useCacheBuster: false);
expect(response, isInstanceOf<Map>());
final results = response!['results'];
expect(results, isNotNull);
expect(results.length, 0);
expect(response, isNull);
}, skip: false);

test('testing lookupById', () async {
Expand Down

0 comments on commit b7a0db5

Please sign in to comment.