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.
1 parent 0576fd5 commit 26762b0Copy full SHA for 26762b0
spec/regression/GH-2298_capture3_accepts_trailing_options_spec.rb
@@ -1,10 +1,12 @@
1
require 'open3'
2
3
-describe "Open3.popen3" do
4
- it "accepts and ignores empty trailing options hash" do
5
- # capture3 is an easy way to test popen3 options behavior
6
- result = Open3.capture3('echo')
+if RUBY_VERSION > '1.9'
+ describe "Open3.popen3" do
+ it "accepts and ignores empty trailing options hash" do
+ # capture3 is an easy way to test popen3 options behavior
7
+ result = Open3.capture3('echo')
8
- expect(result[0]).to eq "\n"
9
+ expect(result[0]).to eq "\n"
10
+ end
11
end
12
0 commit comments