diff options
author | Brad Gilbert <b2gills@gmail.com> | 2012-12-26 15:00:06 -0600 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-01-23 20:27:53 +1100 |
commit | 476e237d2f6c7190af95ee1801cd6e85315b3262 (patch) | |
tree | 66f2e026e1a9e22feecaff3721368ce525ac9e64 /t/win32 | |
parent | 4eb3570cf75ab76f2621885bd7fb4ed49edfd2bb (diff) | |
download | perl-476e237d2f6c7190af95ee1801cd6e85315b3262.tar.gz |
Clean up indenting on t/win32/fs.t
Previous commit removed the need for indents.
Diffstat (limited to 't/win32')
-rw-r--r-- | t/win32/fs.t | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/t/win32/fs.t b/t/win32/fs.t index b62135ddb0..35d3617edc 100644 --- a/t/win32/fs.t +++ b/t/win32/fs.t @@ -13,16 +13,16 @@ plan tests => 4; my $tmpfile1 = tempfile(); my $tmpfile2 = tempfile(); - # RT #112272 - ok(!link($tmpfile1, $tmpfile2), - "Cannot link to unknown file"); - is(0+$!, &Errno::ENOENT, "check errno is ENOENT"); - open my $fh, ">", $tmpfile1 - or skip("Cannot create test link src", 2); - close $fh; - open my $fh, ">", $tmpfile2 - or skip("Cannot create test link target", 2); - close $fh; - ok(!link($tmpfile1, $tmpfile2), - "Cannot link to existing file"); - is(0+$!, &Errno::EEXIST, "check for EEXIST"); +# RT #112272 +ok(!link($tmpfile1, $tmpfile2), + "Cannot link to unknown file"); +is(0+$!, &Errno::ENOENT, "check errno is ENOENT"); +open my $fh, ">", $tmpfile1 + or skip("Cannot create test link src", 2); +close $fh; +open my $fh, ">", $tmpfile2 + or skip("Cannot create test link target", 2); +close $fh; +ok(!link($tmpfile1, $tmpfile2), + "Cannot link to existing file"); +is(0+$!, &Errno::EEXIST, "check for EEXIST"); |