test/test_string.rb in gettext-2.1.0 vs test/test_string.rb in gettext-2.2.0

- old
+ new

@@ -1,4 +1,6 @@ +# encoding: utf-8 + require 'testlib/helper.rb' class TestGetTextString < Test::Unit::TestCase def test_sprintf assert_equal("foo is a number", "%{msg} is a number" % {:msg => "foo"})