Remove unused variable assignment in test

This commit is contained in:
Rafael Mendonça França 2024-04-18 23:10:17 +00:00
parent 5b04d448ab
commit aaa8e9fc30
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ module ActiveRecord
end
def test_irreversible_commands_raise_exception
x = assert_raises(ActiveRecord::IrreversibleMigration) do
assert_raises(ActiveRecord::IrreversibleMigration) do
@recorder.revert { @recorder.execute "some sql" }
end
assert_raises(ActiveRecord::IrreversibleMigration) do