Skip to content

Commit 0468f56

Browse files
committed
🎨 update test to remove type casting for container retrieval
1 parent 78bb08f commit 0468f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hyper_storage/test/hyper_storage_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ void main() {
333333

334334
test('clear removes all data from storage and containers', () async {
335335
final storage = HyperStorage.instance;
336-
final container = await storage.container('test') as HyperStorageContainer;
336+
final container = await storage.container('test');
337337
final jsonContainer = await storage.jsonSerializableContainer<User>(
338338
'users',
339339
toJson: (user) => user.toJson(),

0 commit comments

Comments
 (0)