Skip to content

Commit ad89d3f

Browse files
committed
typo
1 parent 72417ff commit ad89d3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/stackable-operator/src/commons/networking.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ mod tests {
168168
#[case("1.2.3.4")]
169169
fn test_host_and_hostname_parsing_success(#[case] hostname: String) {
170170
let parsed_hostname: Hostname = hostname.parse().expect("hostname can not be parsed");
171-
// Every host is also a valid hostname
171+
// Every hostname is also a valid host
172172
let parsed_host: Host = hostname.parse().expect("host can not be parsed");
173173

174174
// Also test the round-trip
@@ -190,7 +190,6 @@ mod tests {
190190
#[case("1.2.3.4", "1.2.3.4")]
191191
#[case("fe80::1", "[fe80::1]")]
192192
fn test_host_parsing_success(#[case] host: &str, #[case] expected_url_host: &str) {
193-
// Every host is also a valid hostname
194193
let parsed_host: Host = host.parse().expect("host can not be parsed");
195194

196195
// Also test the round-trip

0 commit comments

Comments
 (0)