Skip to content

Commit

Permalink
now the content is apparently binmode-ed so no Windows special case
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 authored and preaction committed Apr 12, 2018
1 parent 2563532 commit 92e4581
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/app/blog/command.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use My::Test;
use Capture::Tiny qw( capture );
use Statocles::App::Blog;
my $SHARE_DIR = path( __DIR__ )->parent->parent->child( 'share' );
use constant WIN32 => $^O =~ /Win32/;

my $site = build_test_site(
theme => $SHARE_DIR->child( 'theme' ),
Expand Down Expand Up @@ -392,7 +391,7 @@ ENDMARKDOWN
content => $doc_path->slurp_utf8,
store => $app->store,
);
my $content = 'Draft body content' . (WIN32 ? "\r\n" : "\n");
my $content = "Draft body content\n";
cmp_deeply $doc, Statocles::Document->new(
path => $path.'',
title => 'A Draft',
Expand Down

0 comments on commit 92e4581

Please sign in to comment.