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