From 45942ac4320d300d0881adae13c1af6690eabefd Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Tue, 29 Aug 2023 17:13:36 +0200 Subject: [PATCH] test(neon): update storage_test Signed-off-by: Nikolas Rimikis --- packages/neon/neon/test/storage_test.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/neon/neon/test/storage_test.dart b/packages/neon/neon/test/storage_test.dart index 022b3063..6fe101b4 100644 --- a/packages/neon/neon/test/storage_test.dart +++ b/packages/neon/neon/test/storage_test.dart @@ -20,10 +20,12 @@ void main() { var appStorage = const AppStorage(StorageKeys.accounts); var key = appStorage.formatKey('test-key'); expect(key, 'accounts-test-key'); + expect(appStorage.id, StorageKeys.accounts.value); appStorage = const AppStorage(StorageKeys.accounts, 'test-suffix'); key = appStorage.formatKey('test-key'); expect(key, 'accounts-test-suffix-test-key'); + expect(appStorage.id, 'test-suffix'); }); test('interface', () async {