We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Kernel#pp
1 parent 9adecc6 commit bbb4e6dCopy full SHA for bbb4e6d
spec/ruby/core/kernel/pp_spec.rb
@@ -1,9 +1,11 @@
1
require_relative '../../spec_helper'
2
3
-describe "Kernel#pp" do
4
- it "lazily loads the 'pp' library and delegates the call to that library" do
5
- # Run in child process to ensure 'pp' hasn't been loaded yet.
6
- output = ruby_exe("pp [1, 2, 3]")
7
- output.should == "[1, 2, 3]\n"
+ruby_version_is "2.5" do
+ describe "Kernel#pp" do
+ it "lazily loads the 'pp' library and delegates the call to that library" do
+ # Run in child process to ensure 'pp' hasn't been loaded yet.
+ output = ruby_exe("pp [1, 2, 3]")
8
+ output.should == "[1, 2, 3]\n"
9
+ end
10
end
11
0 commit comments