remove unnecessary string interpolations (#49352)

This commit is contained in:
Alexandre Ardhuin
2020-01-24 05:43:01 +01:00
committed by Flutter GitHub Bot
parent 5d532e42fb
commit 92cbaa3efe
56 changed files with 79 additions and 77 deletions

View File

@@ -344,14 +344,14 @@ class TestAsyncUtils {
// a 'dart:' API, like from the Future/microtask mechanism, because dart: URLs in the
// stack trace don't have a column number and so don't match the regexp above.
information.add(ErrorSummary('(Unable to parse the stack frame of the method that called the method that called $_className.$method(). The stack may be incomplete or bogus.)'));
information.add(ErrorDescription('${stack[index]}'));
information.add(ErrorDescription(stack[index]));
}
} else {
information.add(ErrorSummary('(Unable to find the stack frame of the method that called the method that called $_className.$method(). The stack may be incomplete or bogus.)'));
}
} else {
information.add(ErrorSummary('(Unable to parse the stack frame of the method that called $_className.$method(). The stack may be incomplete or bogus.)'));
information.add(ErrorDescription('${stack[index]}'));
information.add(ErrorDescription(stack[index]));
}
} else {
information.add(ErrorSummary('(Unable to find the method that called $_className.$method(). The stack may be incomplete or bogus.)'));