Fix tests in faq.t
Patch by cesy.
diffs (25 lines):
diff -r a9d29c10de69 -r b7370be6d607 t/faq.t
--- a/t/faq.t Thu Sep 03 17:09:33 2009 +0000
+++ b/t/faq.t Thu Sep 03 17:21:35 2009 +0000
@@ -10,8 +10,8 @@ use LJ::Faq;
use LJ::Faq;
use LJ::Test qw(memcache_stress);
-#plan tests => 72;
-plan skip_all => 'Fix this test! Is there support for Spanish?';
+plan tests => 60;
+#plan skip_all => 'Fix this test! Is there support for Spanish?';
sub run_tests {
# constructor tests
@@ -33,7 +33,9 @@ sub run_tests {
is($f->lang, $LJ::DEFAULT_LANG, "unknown language code falls back
to default");
}
- foreach my $lang (qw(en es)) {
+ foreach my $lang (qw(en)) {
+
+ # FIXME: maybe test for en_DW as well? en = 'English, not site
specific'; en_DW = 'English, site specific.' So, in 'en', it's NOT OK to
mention Dreamwidth, or, 'the red Tropospherical scheme', etc. But en_DW can be
all about DW itself.
my $f;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog