prefer_const_declarations on local variables (#14358)

This commit is contained in:
Alexandre Ardhuin
2018-02-01 07:51:26 +01:00
committed by GitHub
parent b0e17949aa
commit 841d5d7bd5
129 changed files with 791 additions and 791 deletions

View File

@@ -514,8 +514,8 @@ class _HasGoodToStringDeep extends Matcher {
// If a toStringDeep method doesn't properly handle nested values that
// contain line breaks it can fail to add the required prefixes to all
// lined when toStringDeep is called specifying prefixes.
final String prefixLineOne = 'PREFIX_LINE_ONE____';
final String prefixOtherLines = 'PREFIX_OTHER_LINES_';
const String prefixLineOne = 'PREFIX_LINE_ONE____';
const String prefixOtherLines = 'PREFIX_OTHER_LINES_';
final List<String> prefixIssues = <String>[];
String descriptionWithPrefixes =
object.toStringDeep(prefixLineOne: prefixLineOne, prefixOtherLines: prefixOtherLines);