| Index: sdk/lib/_internal/pub/test/serve/serves_hidden_assets_that_arent_gitignored_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/serves_file_with_space_test.dart b/sdk/lib/_internal/pub/test/serve/serves_hidden_assets_that_arent_gitignored_test.dart
|
| similarity index 63%
|
| copy from sdk/lib/_internal/pub/test/serve/serves_file_with_space_test.dart
|
| copy to sdk/lib/_internal/pub/test/serve/serves_hidden_assets_that_arent_gitignored_test.dart
|
| index eead8082839c9d4283c884473baf40648f6c38a7..5ef198f5b008f5cf1c3cb9b74feab5cb83ffd9b0 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/serves_file_with_space_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/serves_hidden_assets_that_arent_gitignored_test.dart
|
| @@ -10,20 +10,22 @@ import 'utils.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration("serves a filename with a space", () {
|
| - d.dir(appPath, [
|
| + integration("serves hidden assets that aren't .gitignored", () {
|
| + ensureGit();
|
| +
|
| + d.git(appPath, [
|
| d.appPubspec(),
|
| d.dir("web", [
|
| - d.file("foo bar.txt", "outer contents"),
|
| - d.dir("sub dir", [
|
| + d.file(".outer.txt", "outer contents"),
|
| + d.dir(".dir", [
|
| d.file("inner.txt", "inner contents"),
|
| ])
|
| ])
|
| ]).create();
|
|
|
| pubServe();
|
| - requestShouldSucceed("foo%20bar.txt", "outer contents");
|
| - requestShouldSucceed("sub%20dir/inner.txt", "inner contents");
|
| + requestShouldSucceed(".outer.txt", "outer contents");
|
| + requestShouldSucceed(".dir/inner.txt", "inner contents");
|
| endPubServe();
|
| });
|
| }
|
|
|