File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
crates/stackable-operator/src/commons Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ mod tests {
168
168
#[ case( "1.2.3.4" ) ]
169
169
fn test_host_and_hostname_parsing_success ( #[ case] hostname : String ) {
170
170
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
172
172
let parsed_host: Host = hostname. parse ( ) . expect ( "host can not be parsed" ) ;
173
173
174
174
// Also test the round-trip
@@ -190,7 +190,6 @@ mod tests {
190
190
#[ case( "1.2.3.4" , "1.2.3.4" ) ]
191
191
#[ case( "fe80::1" , "[fe80::1]" ) ]
192
192
fn test_host_parsing_success ( #[ case] host : & str , #[ case] expected_url_host : & str ) {
193
- // Every host is also a valid hostname
194
193
let parsed_host: Host = host. parse ( ) . expect ( "host can not be parsed" ) ;
195
194
196
195
// Also test the round-trip
You can’t perform that action at this time.
0 commit comments