diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-03-12 13:05:19 +0000 |
commit | 37bff4c0154b57b35a3194a9b31a9422496b955b (patch) | |
tree | 61592a6bb9d1d9fea378a6e4efa8fdf7d5525b8a /vendor/gems/gettext-2.1.0/test/testlib/npgettext.rb | |
parent | 8b49dc894066e452232cabd09333895487f86986 (diff) | |
parent | 8acea24f98268fbb9b73b66b9e98a1788a3b30ac (diff) |
Merge branch 'merged-bundler' into develop
Diffstat (limited to 'vendor/gems/gettext-2.1.0/test/testlib/npgettext.rb')
-rw-r--r-- | vendor/gems/gettext-2.1.0/test/testlib/npgettext.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/vendor/gems/gettext-2.1.0/test/testlib/npgettext.rb b/vendor/gems/gettext-2.1.0/test/testlib/npgettext.rb deleted file mode 100644 index b92c6cda7..000000000 --- a/vendor/gems/gettext-2.1.0/test/testlib/npgettext.rb +++ /dev/null @@ -1,31 +0,0 @@ -require 'gettext' - -class TestNPGetText - include GetText - bindtextdomain("npgettext", :path => "locale") - - def test_1 - [np_("Magazine", "a book", "%{num} books", 1), - np_("Magazine", "a book", "%{num} books", 2)] - end - - def test_2 - [npgettext("Magazine", "a book", "%{num} books", 1), - npgettext("Magazine", "a book", "%{num} books", 2)] - end - - def test_3 - [np_("Hardcover", "a book", "%{num} books", 1), - np_("Hardcover", "a book", "%{num} books", 2)] - end - - def test_4 - [np_("Magaine", "I have a magazine", "I have %{num} magazines", 1), - np_("Magaine", "I have a magazine", "I have %{num} magazines", 2)] - end - - def test_5 - [np_("Hardcover", "a picture", "%{num} pictures", 1), - np_("Hardcover", "a picture", "%{num} pictures", 2)] #not found. - end -end |