| OLD | NEW |
| 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 library browser_test; | 5 library browser_test; |
| 6 | 6 |
| 7 import 'path.dart'; | 7 import 'path.dart'; |
| 8 | 8 |
| 9 String getHtmlContents(String title, | 9 String getHtmlContents(String title, |
| 10 String scriptType, | 10 String scriptType, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 return """ | 42 return """ |
| 43 import '$libraryPathComponent' as test; | 43 import '$libraryPathComponent' as test; |
| 44 | 44 |
| 45 main() { | 45 main() { |
| 46 print("dart-calling-main"); | 46 print("dart-calling-main"); |
| 47 test.main(); | 47 test.main(); |
| 48 print("dart-main-done"); | 48 print("dart-main-done"); |
| 49 } | 49 } |
| 50 """; | 50 """; |
| 51 } | 51 } |
| OLD | NEW |