enable lint prefer_single_quotes (#12665)
This commit is contained in:
committed by
GitHub
parent
b07ea41954
commit
1fce14a31c
@@ -142,7 +142,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
|
||||
createHttpClient = () {
|
||||
return new http.MockClient((http.BaseRequest request) {
|
||||
return new Future<http.Response>.value(
|
||||
new http.Response("Mocked: Unavailable.", 404, request: request)
|
||||
new http.Response('Mocked: Unavailable.', 404, request: request)
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -26,7 +26,7 @@ class _MockToStringDeep {
|
||||
/// line break.
|
||||
List<String> _lines;
|
||||
|
||||
String toStringDeep({ String prefixLineOne: "", String prefixOtherLines: "" }) {
|
||||
String toStringDeep({ String prefixLineOne: '', String prefixOtherLines: '' }) {
|
||||
final StringBuffer sb = new StringBuffer();
|
||||
if (_lines.isNotEmpty)
|
||||
sb.write('$prefixLineOne${_lines.first}');
|
||||
|
||||
Reference in New Issue
Block a user