Fixed test analysis warnings

This commit is contained in:
thomashii@dukefirehawk.com 2022-08-27 17:25:39 +08:00
parent 52a3a3a3ab
commit c52bc61e49
2 changed files with 2 additions and 2 deletions

View file

@ -6,8 +6,8 @@ import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_framework/http.dart';
import 'package:angel3_websocket/io.dart' as client;
import 'package:http/http.dart' as http hide StreamedResponse;
import 'package:http/http.dart';
import 'package:http/io_client.dart' as http;
import 'package:http/src/streamed_response.dart';
import 'package:angel3_mock_request/angel3_mock_request.dart';
import 'package:web_socket_channel/web_socket_channel.dart';
import 'package:web_socket_channel/io.dart';

View file

@ -91,7 +91,7 @@ class _HasContentType extends Matcher {
var str = contentType is ContentType
? ((contentType as ContentType).value)
: contentType.toString();
return description.add('has content type ' + str);
return description.add('has content type $str');
}
@override