about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2023-06-11 21:33:28 +0000
committerEric Wong <bofh@yhbt.net>2023-06-26 09:16:39 +0000
commit068a1f4ceeb77209503daad564735e354fd52445 (patch)
treeefb6150c13a3ae5f4eda6c3aaa7db8345fe3adfe
parent65b7739431a9cdb98b8f356f5794b3ac81e87705 (diff)
downloadraindrops-068a1f4ceeb77209503daad564735e354fd52445.tar.gz
We don't list `unicorn' as a development dependency since
unicorn currently depends on this project.  While unicorn might
drop us as a dependency, don't waste disk space and bandwidth
of potential raindrops hackers who don't have unicorn.
-rw-r--r--test/test_linux_reuseport_tcp_listen_stats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_linux_reuseport_tcp_listen_stats.rb b/test/test_linux_reuseport_tcp_listen_stats.rb
index 73995ea..4fda218 100644
--- a/test/test_linux_reuseport_tcp_listen_stats.rb
+++ b/test/test_linux_reuseport_tcp_listen_stats.rb
@@ -48,4 +48,4 @@ class TestLinuxReuseportTcpListenStats < Test::Unit::TestCase
       assert_equal [0, i+1], all[addr].to_a
     end
   end
-end if RUBY_PLATFORM =~ /linux/
+end if RUBY_PLATFORM =~ /linux/ && Object.const_defined?(:Unicorn)