afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-09-03 05:22 pm

[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 [personal profile] cesy.

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;
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org