File: disable_us_test.patch

package info (click to toggle)
libhtml-template-pluggable-perl 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 264 kB
  • ctags: 16
  • sloc: perl: 369; sh: 28; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Nicholas Bamber <nicholas@periapt.co.uk>
Last-Update: 2010-01-03
Subject: one test only works in the US locale
Bug: http://rt.cpan.org/Ticket/Display.html?id=64434
--- a/helpers/t/number.t
+++ b/helpers/t/number.t
@@ -57,6 +57,8 @@
 # diag("output: ", $o4);
 like( $o4, qr/Yes/ );
 
+SKIP: {
+    skip "test dependent on locale", 1;
 my $t4 = HTML::Template::Pluggable->new(
     scalarref       => \q{<tmpl_loop o.v:h><tmpl_var h.n> <tmpl_var name="Number.format_price(h.n)"></tmpl_loop>},
     global_vars     => 1,
@@ -67,6 +69,7 @@
 my $o5 = $t4->output;
 # diag("output: ", $o4);
 like( $o5, qr/USD 2.25/ );
+};
 
 
 __END__