Sha256: 5c2044ad1fda052ba0400e5ae094c3a25cf9a75c99ce427cbb960db73721bbdf
Contents?: true
Size: 550 Bytes
Versions: 4
Compression:
Stored size: 550 Bytes
Contents
# frozen_string_literal: true require_relative "../helper" require "yaml" module Arel module Nodes class CommentTest < Arel::Spec describe "equality" do it "is equal with equal contents" do array = [Comment.new(["foo"]), Comment.new(["foo"])] assert_equal 1, array.uniq.size end it "is not equal with different contents" do array = [Comment.new(["foo"]), Comment.new(["bar"])] assert_equal 2, array.uniq.size end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems