diff options
Diffstat (limited to 'test/set/fixtures')
-rw-r--r-- | test/set/fixtures/fake_sorted_set_gem/sorted_set.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/set/fixtures/fake_sorted_set_gem/sorted_set.rb b/test/set/fixtures/fake_sorted_set_gem/sorted_set.rb new file mode 100644 index 0000000000..f45a766303 --- /dev/null +++ b/test/set/fixtures/fake_sorted_set_gem/sorted_set.rb @@ -0,0 +1,9 @@ +Object.instance_exec do + # Remove the constant to cancel autoload that would be fired by + # `class SortedSet` and cause circular require. + remove_const :SortedSet if const_defined?(:SortedSet) +end + +class SortedSet < Set + # ... +end |