about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-07-14 07:57:31 -0700
committerFranck Cuny <franckcuny@gmail.com>2015-07-14 07:57:31 -0700
commit7e11f865c45c247cab5c5ed105414645f267a986 (patch)
tree2e717f44c91d8b9d0468afbe0b272e6c8169da59
parentUpdate changelog for 0.04. (diff)
downloadplack-middleware-etag-7e11f865c45c247cab5c5ed105414645f267a986.tar.gz
Fix a broken test.
One of the test opens the "README" file to serves the content. The file has been
renamed to "README.md" but the test was not updated to reflect the change.
-rw-r--r--t/01_basic.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/01_basic.t b/t/01_basic.t
index d1db7ba..0195f5c 100644
--- a/t/01_basic.t
+++ b/t/01_basic.t
@@ -34,7 +34,7 @@ my $unmodified_handler = builder {
 
 my $file_handler = builder {
    enable "Plack::Middleware::ETag";
-   open my $fh, 'README';
+   open my $fh, 'README.md';
    sub {[200, ['Content-Type' => 'text/html', ], $fh]};
 };