Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8195fd8

Browse files
rakudramacommit-bot@chromium.org
authored andcommitted
Repair dart2js/string_interpolation_test
Change-Id: I52b61fa85df75f88bb033970ebb2feee2989fdad Reviewed-on: https://dart-review.googlesource.com/69010 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Stephen Adams <sra@google.com>
1 parent a0b335a commit 8195fd8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/compiler/dart2js/codegen/string_interpolation_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ main() {
1414

1515
String code2 =
1616
await compileAll(r'''main() { return "foo ${new Object()}"; }''');
17-
Expect.isFalse(code2.contains(r'$add'));
17+
Expect.isFalse(code2.contains(r'$add("foo ",'));
18+
Expect.isTrue(code2.contains(r'"foo " + '));
1819
}
1920

2021
asyncTest(() async {

tests/compiler/dart2js/dart2js.status

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ codegen/logical_expression_test: Fail # Issue 17027
1414
codegen/side_effect_tdiv_regression_test: Fail # Issue 33050
1515
codegen/simple_function_subtype_test: Fail # simple_function_subtype_test is temporarily(?) disabled due to new method for building function type tests.
1616
codegen/string_escapes_test: Fail # Issue 33060
17-
codegen/string_interpolation_test: RuntimeError # Issue 34095
1817
deferred_loading/deferred_loading_test: Slow, Pass
1918
equivalence/id_equivalence1_test: Pass, Slow
2019
equivalence/id_equivalence2_test: Pass, Slow

0 commit comments

Comments
 (0)