[dw-free] Many tests in t/ fail
[commit: http://hg.dwscoalition.org/dw-free/rev/b7370be6d607]
http://bugs.dwscoalition.org/show_bug.cgi?id=1721
Fix tests in faq.t
Patch by
cesy.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1721
Fix tests in faq.t
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- t/faq.t
-------------------------------------------------------------------------------- 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; --------------------------------------------------------------------------------