Skip to content

Commit 000cf05

Browse files
rakudramacommit-bot@chromium.org
authored and
commit-bot@chromium.org
committed
clean up type_literal_test
TBR=leafp@google.com Change-Id: Id8eebf4893103b187e981ccaf6c671ccdf659824 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107690 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Stephen Adams <sra@google.com>
1 parent 0f20911 commit 000cf05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/language_2/type_literal_test.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,10 @@ void testType(Type type, Object expectedToStringValues) {
9999
String text = type.toString();
100100

101101
// dart2js minified names should be tagged. We can still test types that don't
102-
// contains minified names.
102+
// contain minified names.
103103
if (text.contains('minified:')) return;
104104

105105
if (expectedToStringValues is List) {
106-
var s = type.toString();
107106
Expect.isTrue(expectedToStringValues.contains(text),
108107
'type `$type`.toString() should be one of: $expectedToStringValues.');
109108
} else {

0 commit comments

Comments
 (0)