mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/mspec@8106083
This commit is contained in:
parent
a27dc83113
commit
31bb66a19d
28 changed files with 299 additions and 242 deletions
|
@ -1,3 +1,4 @@
|
|||
require 'mspec/utils/format'
|
||||
require 'mspec/matchers'
|
||||
require 'mspec/expectations'
|
||||
require 'mspec/mocks'
|
||||
|
@ -5,16 +6,3 @@ require 'mspec/runner'
|
|||
require 'mspec/guards'
|
||||
require 'mspec/helpers'
|
||||
require 'mspec/version'
|
||||
|
||||
# If the implementation on which the specs are run cannot
|
||||
# load pp from the standard library, add a pp.rb file that
|
||||
# defines the #pretty_inspect method on Object or Kernel.
|
||||
begin
|
||||
require 'pp'
|
||||
rescue LoadError
|
||||
module Kernel
|
||||
def pretty_inspect
|
||||
inspect
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue