diff options
author | karanarora <mail@arorakaran.com> | 2015-05-14 04:13:33 +0530 |
---|---|---|
committer | karanarora <mail@arorakaran.com> | 2015-05-14 04:13:33 +0530 |
commit | 1e34ed7d82f8b6ee37be96fcbca259aafb671018 (patch) | |
tree | 323b527be5e689f88338fd0e3b77adcb83b8a344 | |
parent | e6f0a5372eaebdf2d71c060ed5ecaa2e9a95777c (diff) | |
download | rails-1e34ed7d82f8b6ee37be96fcbca259aafb671018.tar.gz rails-1e34ed7d82f8b6ee37be96fcbca259aafb671018.tar.bz2 rails-1e34ed7d82f8b6ee37be96fcbca259aafb671018.zip |
remove redundant parenthesis
-rw-r--r-- | activerecord/test/cases/type/integer_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/type/integer_test.rb b/activerecord/test/cases/type/integer_test.rb index 84fb05dd8e..0dcdbd0667 100644 --- a/activerecord/test/cases/type/integer_test.rb +++ b/activerecord/test/cases/type/integer_test.rb @@ -21,7 +21,7 @@ module ActiveRecord type = Type::Integer.new assert_nil type.cast([1,2]) assert_nil type.cast({1 => 2}) - assert_nil type.cast((1..2)) + assert_nil type.cast(1..2) end test "casting ActiveRecord models" do |