test/test_string.rb in gettext-2.2.1 vs test/test_string.rb in gettext-2.3.0
- old
+ new
@@ -1,8 +1,6 @@
# encoding: utf-8
-require 'testlib/helper.rb'
-
class TestGetTextString < Test::Unit::TestCase
class TestFormat < self
def test_basic
assert_equal("foo is a number", "%{msg} is a number" % {:msg => "foo"})
assert_equal("bar is a number", "%s is a number" % ["bar"])