Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
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
[shared_preferences] Fix failing test
  • Loading branch information
nuzelac committed Aug 24, 2019
commit 4b7c5fa4bce41bf4b0f38a5a6917f933b1fdbdc9
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ void main() {
expect(preferences.getInt('int'), null);
expect(preferences.getDouble('double'), null);
expect(preferences.getStringList('List'), null);
expect(log, <Matcher>[isMethodCall('clear', arguments: null)]);
expect(log, <Matcher>[
isMethodCall('clear', arguments: <String, dynamic>{
'prefix': 'flutter.',
})
]);
});

test('reloading', () async {
Expand Down