Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1249)

Unified Diff: tests/compiler/dart2js/side_effect_tdiv_regression_test.dart

Issue 107673004: Revert r31212. Some tests fail. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/side_effect_tdiv_regression_test.dart
===================================================================
--- tests/compiler/dart2js/side_effect_tdiv_regression_test.dart (revision 31214)
+++ tests/compiler/dart2js/side_effect_tdiv_regression_test.dart (working copy)
@@ -1,30 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-import 'package:expect/expect.dart';
-import "package:async_helper/async_helper.dart";
-
-import 'compiler_helper.dart';
-import 'parser_helper.dart';
-
-const String TEST = r'''
-class A {
- var field = 42;
-}
-main() {
- var a = new A();
- var b = [42, -1];
- // Force a setter on [field].
- if (false) a.field = 12;
- var c = a.field;
- print(b[0] ~/ b[1]);
- return c + a.field;
-}
-''';
-
-void main() {
- asyncTest(() => compileAll(TEST).then((generated) {
- Expect.isTrue(generated.contains('return c + c;'));
- }));
-}
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698