mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 17:21:49 -10:00
1 parent
6f480a9d26
commit
c2ae983c93
1 file changed
+8
-2
@@ -1184,8 +1184,14 @@ mod tests {
|
||||
let (host, port) = parse_address(address).unwrap();
|
||||
connecting_line(&host, port)
|
||||
};
|
||||
assert_eq!(line("play.example.net"), "Connecting to play.example.net, 25565");
|
||||
assert_eq!(line("play.example.net:25577"), "Connecting to play.example.net, 25577");
|
||||
assert_eq!(
|
||||
line("play.example.net"),
|
||||
"Connecting to play.example.net, 25565"
|
||||
);
|
||||
assert_eq!(
|
||||
line("play.example.net:25577"),
|
||||
"Connecting to play.example.net, 25577"
|
||||
);
|
||||
assert_eq!(line("[::1]:25566"), "Connecting to ::1, 25566");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user