Skip to content

Commit

Permalink
Merge pull request #611 from mishina2228/patch-1
Browse files Browse the repository at this point in the history
Remove warning: assigned but unused variable
  • Loading branch information
radar authored Jan 30, 2022
2 parents f33af4f + cf52520 commit a1dc424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/backend/cache_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def teardown
I18n.t(:missing, :scope => :foo, :extra => true)
assert_equal 1, I18n.cache_store.instance_variable_get(:@data).size

cache_key, entry = I18n.cache_store.instance_variable_get(:@data).first
_, entry = I18n.cache_store.instance_variable_get(:@data).first
assert_equal({ scope: :foo }, entry.value.options)
end

Expand Down

0 comments on commit a1dc424

Please sign in to comment.