Skip to content

Commit 7ffc496

Browse files
Bartuzstereobooster
authored andcommitted
Remove redundant test for lookup
This reverts PART of commit ee27f3d. thanks @clemens https://github.com/svenfuchs/i18n/pull/282/files#r37780129
1 parent 80e27e9 commit 7ffc496

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/i18n/tests/lookup.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Lookup
66
def setup
77
super
88
I18n.backend.store_translations(:en, :foo => { :bar => 'bar', :baz => 'baz' }, :falsy => false, :truthy => true,
9-
:string => "a", :array => %w(a b c), :interpolate_array => %w(foo %{bar}), :hash => { "a" => "b" })
9+
:string => "a", :array => %w(a b c), :hash => { "a" => "b" })
1010
end
1111

1212
test "lookup: it returns a string" do
@@ -21,10 +21,6 @@ def setup
2121
assert_equal(%w(a b c), I18n.t(:array))
2222
end
2323

24-
test "lookup: it returns the interpolate_array" do
25-
assert_equal ['foo', '%{bar}'], I18n.t(:interpolate_array)
26-
end
27-
2824
test "lookup: it returns a native true" do
2925
assert I18n.t(:truthy) === true
3026
end

0 commit comments

Comments
 (0)