Skip to content

Commit

Permalink
Minor: single quotes instead of double. I just don't like double. Haha.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Feb 28, 2010
1 parent e057f28 commit 9473639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class QueryTest < Test::Unit::TestCase
end

%w{gt lt gte lte ne in nin mod all size where exists}.each do |operator|
next if operator == "size" && RUBY_VERSION >= "1.9.1" # 1.9 defines Symbol#size
next if operator == 'size' && RUBY_VERSION >= '1.9.1' # 1.9 defines Symbol#size

should "convert #{operator} conditions" do
Query.new(Room, :age.send(operator) => 21).criteria.should == {
Expand Down

1 comment on commit 9473639

@jszmajda
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't single quotes inherently faster anyway? :)

Please sign in to comment.