| OLD | NEW |
| 1 #! This is currently only a comment. | 1 #! This is currently only a comment. |
| 2 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
| 4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 // Testing a simple script importing a library. | 6 // Testing a simple script importing a library. |
| 7 // This file contains the script (aka root library). | 7 // This file contains the script (aka root library). |
| 8 | 8 |
| 9 #library("HelloScriptTest.dart"); | 9 #library("HelloScriptTest.dart"); |
| 10 #import("HelloScriptLib.dart"); | 10 #import("hello_script_lib.dart"); |
| 11 | 11 |
| 12 main() { | 12 main() { |
| 13 HelloLib.doTest(); | 13 HelloLib.doTest(); |
| 14 Expect.equals(18, x); | 14 Expect.equals(18, x); |
| 15 print("Hello done."); | 15 print("Hello done."); |
| 16 } | 16 } |
| OLD | NEW |