| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 shelf_static.symbolic_link_test; | |
| 6 | |
| 7 import 'dart:io'; | 5 import 'dart:io'; |
| 8 import 'package:path/path.dart' as p; | 6 import 'package:path/path.dart' as p; |
| 9 import 'package:scheduled_test/descriptor.dart' as d; | 7 import 'package:scheduled_test/descriptor.dart' as d; |
| 10 import 'package:scheduled_test/scheduled_test.dart'; | 8 import 'package:scheduled_test/scheduled_test.dart'; |
| 11 | 9 |
| 12 import 'package:shelf_static/shelf_static.dart'; | 10 import 'package:shelf_static/shelf_static.dart'; |
| 13 import 'test_util.dart'; | 11 import 'test_util.dart'; |
| 14 | 12 |
| 15 void main() { | 13 void main() { |
| 16 setUp(() { | 14 setUp(() { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 return makeRequest(handler, '/link_dir/index.html').then((response) { | 172 return makeRequest(handler, '/link_dir/index.html').then((response) { |
| 175 expect(response.statusCode, HttpStatus.OK); | 173 expect(response.statusCode, HttpStatus.OK); |
| 176 expect(response.contentLength, 13); | 174 expect(response.contentLength, 13); |
| 177 expect(response.readAsString(), completion('<html></html>')); | 175 expect(response.readAsString(), completion('<html></html>')); |
| 178 }); | 176 }); |
| 179 }); | 177 }); |
| 180 }); | 178 }); |
| 181 }); | 179 }); |
| 182 }); | 180 }); |
| 183 } | 181 } |
| OLD | NEW |