summaryrefslogtreecommitdiff
path: root/spec/ruby/library/set/sortedset/inspect_spec.rb
blob: 64b3f3d882c8ea3b59304258cacff212b2a3c57c (plain)
1
2
3
4
5
6
7
8
9
10
require File.expand_path('../../../../spec_helper', __FILE__)
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