From 1ff91350b2ea99fe26f1855036eedf5ea1ffd43f Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Sat, 17 Feb 2024 14:34:17 -0500 Subject: [PATCH] More crlf --- .github/workflows/ci.yml | 3 +-- t/base.t | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 447d06e..07accb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,6 @@ jobs: with: { perl-version: "${{ matrix.perl }}" } - name: Install Dependencies run: cpanm -vn Module::Build && cpanm -vn --installdeps --with-recommends --with-develop . - - run: cpanm -vn Data::Dump - - run: prove -lv t/base.t + - run: prove -lv t/base.t t/dist.t # - name: Run Tests # run: perl Build.PL ./Build && ./Build test diff --git a/t/base.t b/t/base.t index 09287fa..626b980 100644 --- a/t/base.t +++ b/t/base.t @@ -42,7 +42,7 @@ is_deeply $res, { }, 'Should have "not found" response'; my $f = catfile qw(t mirror index.json); -open my $fh, '<:raw', $f or die "Cannot open $f: $!\n"; +open my $fh, '<:raw:crlf', $f or die "Cannot open $f: $!\n"; my $json = do { local $/; <$fh>;