commit | ab9a746f77d704a99c62f6932eea752a1f036f59 | [log] [tgz] |
---|---|---|
author | Nicholas Shahan <nshahan@google.com> | Wed Dec 27 22:03:19 2023 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 27 22:03:19 2023 +0000 |
tree | ccb722f0b602262d65cc8477b80d6133870eeb84 | |
parent | 99ccb83e5d968c8a2fc1cacd6eb0246a080315e2 [diff] |
[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 <natebiggs@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
diff --git a/tests/language/unsorted/cyclic_type2_test.dart b/tests/language/unsorted/cyclic_type2_test.dart index 0b62f2f..5a4d120 100644 --- a/tests/language/unsorted/cyclic_type2_test.dart +++ b/tests/language/unsorted/cyclic_type2_test.dart
@@ -2,6 +2,9 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// Prevent obfuscation: +// dart2jsOptions=--no-minify + // Tests self referencing types. import "package:expect/expect.dart";