Skip to content

Commit

Permalink
Skip test_stream_writer_subprocess on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheid committed Dec 13, 2024
1 parent 903284a commit 29cbc8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ def test_stream_writer_push_null_value_with_key
end

def test_stream_writer_subprocess
skip if RbConfig::CONFIG['host_os'] =~ /(mingw|mswin)/

Open3.popen3("/bin/bash", "-c", "cat > /dev/null") do |stdin, _stdout, _stderr, _wait_thr|
w = Oj::StreamWriter.new(stdin, :indent => 0)
w.push_array()
Expand Down

0 comments on commit 29cbc8f

Please sign in to comment.