summaryrefslogtreecommitdiff
path: root/spec/ruby/library/set/sortedset/inspect_spec.rb
blob: 7103bee3f5a88a0a42622f9e438ad8aba2dc4918 (plain)
1
2
3
4
5
6
7
8
9
10
require_relative '../../../spec_helper'
require 'set'

describe "SortedSet#inspect" do
  it "returns a String representation of self" do
    SortedSet[].inspect.should be_kind_of(String)
    SortedSet[1, 2, 3].inspect.should be_kind_of(String)
    SortedSet["1", "2", "3"].inspect.should be_kind_of(String)
  end
end