Sha256: e8b82ccc384d89ce748b57fd59ec79682e935d5ded9c75f4253f8c61e36bed5f

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

require_relative "../helper"

module Arel
  module Nodes
    describe Casted do
      describe "#hash" do
        it "is equal when eql? returns true" do
          one = Casted.new 1, 2
          also_one = Casted.new 1, 2

          assert_equal one.hash, also_one.hash
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ibm_db-5.5.0 test/cases/arel/nodes/casted_test.rb
ibm_db-5.4.1 test/cases/arel/nodes/casted_test.rb
ibm_db-5.4.0 test/cases/arel/nodes/casted_test.rb
ibm_db-5.3.2 test/cases/arel/nodes/casted_test.rb
ibm_db-5.3.1 test/cases/arel/nodes/casted_test.rb