aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-03-25 21:33:27 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-03-30 17:24:27 +0100
commite4707406bd816fb9b1bb2077b7452cc77dec3d94 (patch)
treed557637dc6481d15959516b1e416a68ec4cea619 /t/app
parent32427b2032b12a7195249a2041e7aaa420b06e6a (diff)
Fix/skip locale tests that don't pass on Mac OS X.
Diffstat (limited to 't/app')
-rw-r--r--t/app/01app.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/01app.t b/t/app/01app.t
index eb98b6319..df562b829 100644
--- a/t/app/01app.t
+++ b/t/app/01app.t
@@ -16,12 +16,16 @@ use Encode qw(encode);
ok( request('/')->is_success, 'Request should succeed' );
+SKIP: {
FixMyStreet::override_config {
ALLOWED_COBRANDS => [ 'tester' ],
}, sub {
+ skip 'Test will not pass on Mac OS', 1 if $^O eq 'darwin';
+
my $page = get('/');
my $num = encode('UTF-8', "12\N{NO-BREAK SPACE}345");
like $page, qr/$num/;
};
+}
done_testing();