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

Side by Side Diff: tests/compiler/dart2js_extra/deferred/deferred_class_library.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Imported by deferred_class_test.dart. 5 // Imported by deferred_class_test.dart.
6 6
7 library deferred_class_library; 7 library deferred_class_library;
8 8
9 class MyClass { 9 class MyClass {
10 const MyClass(); 10 const MyClass();
11 11
12 foo(x) { 12 foo(x) {
13 print('MyClass.foo($x)'); 13 print('MyClass.foo($x)');
14 return (x - 3) ~/ 2; 14 return (x - 3) ~/ 2;
15 } 15 }
16 } 16 }
17 17
18 class Constant { 18 class Constant {
19 final value; 19 final value;
20 const Constant(this.value); 20 const Constant(this.value);
21 21
22 operator==(other) => other is Constant && value == other.value; 22 operator ==(other) => other is Constant && value == other.value;
23 get hashCode => 0; 23 get hashCode => 0;
24 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698