Fixed test cases
This commit is contained in:
parent
7d5e75e440
commit
95e13b15c1
3 changed files with 11 additions and 8 deletions
|
@ -10,7 +10,7 @@
|
|||
* Migrated angel_container to 3.0.0 (55/55 tests passed)
|
||||
* Added merge_map and migrated to 2.0.0 (6/6 tests passed)
|
||||
* Added mock_request and migrated to 2.0.0 (0/0 tests)
|
||||
* Migrated angel_framework to 4.0.0 (146/149 tests passed)
|
||||
* Migrated angel_framework to 4.0.0 (146/150 tests passed)
|
||||
* Migrated angel_auth to 4.0.0 (21/30 tests passed)
|
||||
* Migrated angel_configuration to 4.0.0 (6/8 testspassed)
|
||||
* Migrated angel_validate to 4.0.0 (6/7 tests passed)
|
||||
|
|
|
@ -22,11 +22,11 @@ dependencies:
|
|||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/model
|
||||
angel_route:
|
||||
path: ../route
|
||||
# git:
|
||||
# url: https://github.com/dukefirehawk/angel.git
|
||||
# ref: sdk-2.12.x_nnbd
|
||||
# path: packages/route
|
||||
# path: ../route
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/route
|
||||
charcode: ^1.2.0
|
||||
combinator:
|
||||
git:
|
||||
|
|
|
@ -3,8 +3,11 @@ import 'package:test/test.dart';
|
|||
|
||||
void main() {
|
||||
test('null', () {
|
||||
expect(Service.parseId('null'), null);
|
||||
expect(Service.parseId(null), null);
|
||||
//expect(Service.parseId('null'), null);
|
||||
//expect(Service.parseId(null), null);
|
||||
|
||||
expect(() => Service.parseId('null'), throwsArgumentError);
|
||||
expect(() => Service.parseId(null), throwsArgumentError);
|
||||
});
|
||||
|
||||
test('String', () {
|
||||
|
|
Loading…
Reference in a new issue