aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/arel/nodes/unary_operation_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/arel/nodes/unary_operation_test.rb')
-rw-r--r--activerecord/test/cases/arel/nodes/unary_operation_test.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/activerecord/test/cases/arel/nodes/unary_operation_test.rb b/activerecord/test/cases/arel/nodes/unary_operation_test.rb
index e76b59c8e1..f0dd0c625c 100644
--- a/activerecord/test/cases/arel/nodes/unary_operation_test.rb
+++ b/activerecord/test/cases/arel/nodes/unary_operation_test.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
-require_relative '../helper'
+
+require_relative "../helper"
module Arel
module Nodes
@@ -12,10 +13,10 @@ module Arel
def test_operation_alias
operation = UnaryOperation.new :-, 1
- aliaz = operation.as('zomg')
+ aliaz = operation.as("zomg")
assert_kind_of As, aliaz
assert_equal operation, aliaz.left
- assert_equal 'zomg', aliaz.right
+ assert_equal "zomg", aliaz.right
end
def test_operation_ordering