blob: 67993dee2956f7769412a710d36046978bb9fa9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require_relative '../../../spec_helper'
require 'set'
describe "SortedSet" do
it "raises error including message that it has been extracted from the set stdlib" do
-> {
SortedSet
}.should raise_error(RuntimeError) { |e|
e.message.should.include?("The `SortedSet` class has been extracted from the `set` library")
}
end
end
|