test/testlib/nsgettext.rb in gettext-1.93.0 vs test/testlib/nsgettext.rb in gettext-2.0.0
- old
+ new
@@ -1,11 +1,9 @@
require 'gettext'
class TestNSGetText
include GetText
- def initialize
- bindtextdomain("test_nsgettext", "locale")
- end
+ bindtextdomain("nsgettext", :path => "locale")
def test_1
[ns_("AAA|BBB", "CCC", 1), ns_("AAA|BBB", "CCC", 2)]
end