spec/async/io/shared_endpoint/server_spec.rb in async-io-1.23.1 vs spec/async/io/shared_endpoint/server_spec.rb in async-io-1.23.3
- old
+ new
@@ -63,10 +63,10 @@
bound_endpoint.close
end
end
-RSpec.describe Async::Container::Forked do
+RSpec.describe Async::Container::Forked, if: Process.respond_to?(:fork) do
it_behaves_like Async::IO::SharedEndpoint, described_class
end
RSpec.describe Async::Container::Threaded, if: RUBY_PLATFORM !~ /darwin/ do
it_behaves_like Async::IO::SharedEndpoint, described_class