Skip to content

Commit

Permalink
test: cover upper case in service name (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
keepsimple1 authored Dec 17, 2024
1 parent 6ff9b52 commit 71647a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/mdns_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ fn test_into_txt_properties() {
}

/// Test enabling an interface using its name, for example "en0".
/// Also tests an instance name with Upper Case.
#[test]
fn service_with_named_interface_only() {
// Create a daemon
Expand All @@ -491,7 +492,7 @@ fn service_with_named_interface_only() {
let port = 5202;
let my_service = ServiceInfo::new(
my_ty_domain,
"my_instance",
"UpperCaseInstance",
host_name,
host_ipv4,
port,
Expand Down

0 comments on commit 71647a1

Please sign in to comment.