Skip to content

Commit

Permalink
Remove language-specific error test, #6
Browse files Browse the repository at this point in the history
  • Loading branch information
robrwo committed Dec 20, 2017
1 parent 6efc96a commit 30e39be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Revision history for Test::Roo::DataDriven

{{$NEXT}}
[Tests]
- Remove language-specific error check, #6.

v0.2.1 2017-12-18 01:18:37+00:00 Europe/London
[Tests]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Test::Roo::DataDriven - simple data-driven tests with Test::Roo

# VERSION

version v0.2.1
version v0.2.2

# SYNOPSIS

Expand Down
5 changes: 1 addition & 4 deletions t/03-parsing-errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ package main;
use Test::Most;
use Path::Tiny;

plan skip_all => "Error messages may be locale-dependent"
unless $ENV{LANG} && $ENV{LANG} =~ /^en/;

subtest 'nonexistent' => sub {

my $file = path('t/data/errors/nonexistent.err');
Expand All @@ -27,7 +24,7 @@ subtest 'nonexistent' => sub {
Example::Class->parse_data_file($file);

}
qr/failed on ${file}: No such file or directory/;
qr/failed on ${file}:/;

};

Expand Down

0 comments on commit 30e39be

Please sign in to comment.