[milter-manager-commit] milter-manager/milter-manager at 362c2d0 [master] ruby test: relax expected

Back to archive index
Kouhei Sutou null+****@clear*****
Mon May 13 10:46:17 JST 2019


Kouhei Sutou	2019-05-13 10:46:17 +0900 (Mon, 13 May 2019)

  Revision: 362c2d0638a0771c263f54c4e478d0b8d79b6f66
  https://github.com/milter-manager/milter-manager/commit/362c2d0638a0771c263f54c4e478d0b8d79b6f66

  Message:
    ruby test: relax expected

  Modified files:
    binding/ruby/test/client/test-client.rb

  Modified: binding/ruby/test/client/test-client.rb (+2 -2)
===================================================================
--- binding/ruby/test/client/test-client.rb    2019-05-13 10:44:55 +0900 (cb160681)
+++ binding/ruby/test/client/test-client.rb    2019-05-13 10:46:17 +0900 (5a0738ff)
@@ -1,5 +1,5 @@
 # Copyright (C) 2009  Yuto Hayamizu <y.hay****@gmail*****>
-# Copyright (C) 2010-2011  Kouhei Sutou <kou****@clear*****>
+# Copyright (C) 2010-2019  Kouhei Sutou <kou****@clear*****>
 #
 # This library is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -86,7 +86,7 @@ class TestClient < Test::Unit::TestCase
   def test_listen
     port = 12345
     @client.connection_spec = "inet:#{port}"
-    assert_raise(Errno::ECONNREFUSED) do
+    assert_raise(SystemCallError) do
       TCPSocket.new("localhost", port)
     end
     @client.listen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/milter-manager-commit/attachments/20190513/389d5045/attachment.html>


More information about the milter-manager-commit mailing list
Back to archive index