| Index: tests/lib/logging/logging_test.dart
|
| ===================================================================
|
| --- tests/lib/logging/logging_test.dart (revision 10086)
|
| +++ tests/lib/logging/logging_test.dart (working copy)
|
| @@ -65,7 +65,7 @@
|
| });
|
|
|
| test('logger name cannot start with a "." ', () {
|
| - expectThrow(() => new Logger('.c'));
|
| + expect(() => new Logger('.c'), throws);
|
| });
|
|
|
| test('logger naming is hierarchical', () {
|
| @@ -134,7 +134,7 @@
|
| });
|
|
|
| test('cannot set level if hierarchy is disabled', () {
|
| - expectThrow(() {a.level = Level.FINE;});
|
| + expect(() {a.level = Level.FINE;}, throws);
|
| });
|
|
|
| test('loggers effective level - no hierarchy', () {
|
|
|