Fixed classes format

This commit is contained in:
2021-03-24 17:16:12 +07:00
parent 649f25b265
commit 05f41dac54
5 changed files with 10 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
import 'package:configurable/configurable.dart' show getConfigOrNull, hasConfigkey;
import 'package:configurable/configurable.dart'
show getConfigOrNull, hasConfigkey;
import 'package:configurable/simple_configuration_provider.dart';
import 'package:configurable/system_config.dart';
import 'package:test/test.dart';
@@ -7,7 +8,7 @@ void main() {
test('get system config by key', () {
var key = 'app.name';
var value = 'CUBETIQ';
// set simple provider
SystemConfig.setProvider(SimpleConfigurationProvider());

View File

@@ -4,7 +4,7 @@ import 'package:test/test.dart';
void main() {
test('just call env', () {
load();
var result = env['app.title'];
expect('CUBETIQ Solution', equals(result));