| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.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 pub_tests; | |
| 6 | |
| 7 import 'dart:convert'; | 5 import 'dart:convert'; |
| 8 | 6 |
| 9 import '../../descriptor.dart' as d; | 7 import '../../descriptor.dart' as d; |
| 10 import '../../test_pub.dart'; | 8 import '../../test_pub.dart'; |
| 11 import '../../serve/utils.dart'; | 9 import '../../serve/utils.dart'; |
| 12 | 10 |
| 13 final transformer = """ | 11 final transformer = """ |
| 14 import 'dart:async'; | 12 import 'dart:async'; |
| 15 import 'dart:convert'; | 13 import 'dart:convert'; |
| 16 | 14 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 d.file("foo.txt", "foo") | 48 d.file("foo.txt", "foo") |
| 51 ]) | 49 ]) |
| 52 ]).create(); | 50 ]).create(); |
| 53 | 51 |
| 54 pubGet(); | 52 pubGet(); |
| 55 pubServe(); | 53 pubServe(); |
| 56 requestShouldSucceed("foo.json", JSON.encode({})); | 54 requestShouldSucceed("foo.json", JSON.encode({})); |
| 57 endPubServe(); | 55 endPubServe(); |
| 58 }); | 56 }); |
| 59 } | 57 } |
| OLD | NEW |