Skip to content

Commit

Permalink
fixup! Fix: SocketSpecHelper.supports_ipv6?
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Jan 14, 2025
1 parent b19179d commit d2a3376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/std/socket/spec_helper.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "socket"
module SocketSpecHelper
@@supports_ipv6 : Bool?

class_getter?(supports_ipv6? : Bool) { detect_supports_ipv6? }
class_getter?(supports_ipv6 : Bool) { detect_supports_ipv6? }

private def self.detect_supports_ipv6? : Bool
TCPServer.open("::1", 0) { return true }
Expand Down

0 comments on commit d2a3376

Please sign in to comment.