most tests fixed
This commit is contained in:
parent
8d80eab5bd
commit
5af191eebb
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class Angel extends Routable {
|
||||||
_logger = new ConvertingLogger(value);
|
_logger = new ConvertingLogger(value);
|
||||||
} else if (value is Logger) {
|
} else if (value is Logger) {
|
||||||
_logger = value;
|
_logger = value;
|
||||||
} else {
|
} else if (value != null) {
|
||||||
throw new ArgumentError();
|
throw new ArgumentError('Unsupported logger: $value');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue