Skip to content

Commit ab9a746

Browse files
nshahanCommit Queue
authored and
Commit Queue
committed
[test] Prevent minification of dart2js type names
Allows test to succeed when calling .toString on a type and expecting a specific string. Change-Id: Icf50d324c59e7432a6a9af3d722db3e9e3d8545e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343684 Reviewed-by: Nate Biggs <[email protected]> Reviewed-by: Nate Bosch <[email protected]> Commit-Queue: Nicholas Shahan <[email protected]>
1 parent 99ccb83 commit ab9a746

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/language/unsorted/cyclic_type2_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// Prevent obfuscation:
6+
// dart2jsOptions=--no-minify
7+
58
// Tests self referencing types.
69

710
import "package:expect/expect.dart";

0 commit comments

Comments
 (0)