mirror of
https://github.com/chenasraf/unaconfig_dart.git
synced 2026-05-17 17:48:07 +00:00
test: fix tests
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -7,12 +7,13 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: ["master"]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
branches: ["master"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
@@ -16,7 +16,7 @@ void main() {
|
||||
|
||||
final explorer = Unaconfig('test', fs: fs);
|
||||
final results = await explorer.search();
|
||||
expect(results.runtimeType, Map<String, dynamic>);
|
||||
expect(results, isA<Map>());
|
||||
expect(results, {
|
||||
'test': {'key': 'value'}
|
||||
});
|
||||
@@ -30,7 +30,7 @@ void main() {
|
||||
|
||||
final explorer = Unaconfig('test', fs: fs);
|
||||
final results = await explorer.search();
|
||||
expect(results.runtimeType, Map<String, dynamic>);
|
||||
expect(results, isA<Map>());
|
||||
expect(results, {
|
||||
'test': {'key': 'value'}
|
||||
});
|
||||
@@ -44,9 +44,10 @@ void main() {
|
||||
|
||||
final explorer = Unaconfig('test', fs: fs);
|
||||
final results = await explorer.search();
|
||||
expect(results.runtimeType, Map<String, dynamic>);
|
||||
expect(results, isA<Map>());
|
||||
expect(results, {
|
||||
'test': {'key': 'value'}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user