Skip to content

Commit 617bc54

Browse files
committed
[dart2js] unit test patch for unfork cl.
To be submitted with the unfork cl. Change-Id: Ie045499a98cf4ca69002fbdfe1391f358f96f534 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/145642 Reviewed-by: Sigmund Cherem <[email protected]>
1 parent ce5d18b commit 617bc54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compiler/dart2js/helpers/memory_compiler.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export 'package:compiler/compiler_new.dart' show CompilationResult;
2626
export 'diagnostic_helper.dart';
2727

2828
bool isDart2jsNnbd =
29-
Platform.environment['DART_CONFIGURATION'] == 'ReleaseX64NNBD';
29+
!Platform.environment['DART_CONFIGURATION'].endsWith('Legacy');
3030

3131
String sdkPath = isDart2jsNnbd ? 'sdk_nnbd/lib' : 'sdk/lib';
3232

0 commit comments

Comments
 (0)