File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
test/commands.shard/hermetic Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1259,7 +1259,7 @@ class NotifyingLogger extends DelegatingLogger {
1259
1259
void sendEvent (String name, [Map <String , Object ?>? args]) { }
1260
1260
1261
1261
@override
1262
- bool get supportsColor => throw UnimplementedError () ;
1262
+ bool get supportsColor => false ;
1263
1263
1264
1264
@override
1265
1265
bool get hasTerminal => false ;
Original file line number Diff line number Diff line change @@ -708,6 +708,11 @@ void main() {
708
708
expect (message.level, 'status' );
709
709
expect (message.message, 'hello' );
710
710
});
711
+
712
+ testWithoutContext ('responds to .supportsColor' , () async {
713
+ final NotifyingLogger logger = NotifyingLogger (verbose: false , parent: bufferLogger);
714
+ expect (logger.supportsColor, isFalse);
715
+ });
711
716
});
712
717
713
718
group ('daemon queue' , () {
You can’t perform that action at this time.
0 commit comments