[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>
This commit is contained in:
Nicholas Shahan 2023-12-27 22:03:19 +00:00 committed by Commit Queue
parent 99ccb83e5d
commit ab9a746f77

View file

@ -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";