mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10 lines
313 B
Ruby
10 lines
313 B
Ruby
# -*- encoding: binary -*-
|
|
require_relative '../../spec_helper'
|
|
require_relative 'shared/cover_and_include'
|
|
require_relative 'shared/cover'
|
|
|
|
describe "Range#cover?" do
|
|
it_behaves_like :range_cover_and_include, :cover?
|
|
it_behaves_like :range_cover, :cover?
|
|
it_behaves_like :range_cover_subrange, :cover?
|
|
end
|