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

Side by Side Diff: tests/language/src/Library2NegativeTest.dart

Issue 8431016: fix some tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // This test should fail to load because we are importing two libraries 5 // This test should fail to load because we are importing two libraries
6 // which define the same top level name. 6 // which define the same top level name.
7 7
8 #library("Library2NegativeTest.dart"); 8 #library("Library2NegativeTest.dart");
9 #import("library3.dart"); // imports library2.dart which defines foo/foo1. 9 #import("library3.dart"); // imports library2.dart which defines foo/foo1.
10 #import("library4.dart"); // imports library2.dart and defines foo/foo1. 10 #import("library4.dart"); // imports library2.dart and defines foo/foo1.
11 #import("library2.dart");
jimhug 2011/10/31 23:36:31 This seems totally broken to me without this line.
ngeoffray 2011/11/01 08:17:34 The problem is that the libraries are not imported
kasperl 2011/11/01 11:11:29 To me it looks like importing library4 alone is en
jimhug 2011/11/01 15:07:11 Here's my take: Importing just library4 and then
ngeoffray 2011/11/01 15:18:31 OK, I re-checked the source files. I think Kasper'
11 12
12 main() { 13 main() {
13 Expect.equals(0, foo1); 14 Expect.equals(0, foo1);
14 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698