| 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 | 10 |
| 11 import "package:expect/expect.dart"; | 11 import "package:expect/expect.dart"; |
| 12 import "hello_script_lib.dart"; | 12 import "hello_script_lib.dart"; |
| 13 | 13 |
| 14 main() { | 14 main() { |
| 15 HelloLib.doTest(); | 15 HelloLib.doTest(); |
| 16 Expect.equals(18, x); | 16 Expect.equals(18, x); |
| 17 print("Hello done."); | 17 print("Hello done."); |
| 18 } | 18 } |
| OLD | NEW |