Browse Source

test(neon): update storage_test

Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
pull/497/head
Nikolas Rimikis 1 year ago
parent
commit
45942ac432
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 2
      packages/neon/neon/test/storage_test.dart

2
packages/neon/neon/test/storage_test.dart

@ -20,10 +20,12 @@ void main() {
var appStorage = const AppStorage(StorageKeys.accounts); var appStorage = const AppStorage(StorageKeys.accounts);
var key = appStorage.formatKey('test-key'); var key = appStorage.formatKey('test-key');
expect(key, 'accounts-test-key'); expect(key, 'accounts-test-key');
expect(appStorage.id, StorageKeys.accounts.value);
appStorage = const AppStorage(StorageKeys.accounts, 'test-suffix'); appStorage = const AppStorage(StorageKeys.accounts, 'test-suffix');
key = appStorage.formatKey('test-key'); key = appStorage.formatKey('test-key');
expect(key, 'accounts-test-suffix-test-key'); expect(key, 'accounts-test-suffix-test-key');
expect(appStorage.id, 'test-suffix');
}); });
test('interface', () async { test('interface', () async {

Loading…
Cancel
Save