Skip to content

Commit

Permalink
juanfont#2140 Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hopleus committed Oct 15, 2024
1 parent 7345d64 commit f38a567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hscontrol/types/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,14 +373,14 @@ func TestApplyHostnameFromHostInfo(t *testing.T) {
{
name: "hostinfo-exists-automatic-givenName",
nodeBefore: Node{
GivenName: "AutomaticName.Test",
GivenName: "automaticname.test",
Hostname: "AutomaticName.Test",
},
change: &tailcfg.Hostinfo{
Hostname: "NewHostName.Local",
},
want: Node{
GivenName: "NewHostName.Local",
GivenName: "newhostname.local",
Hostname: "NewHostName.Local",
},
},
Expand Down

0 comments on commit f38a567

Please sign in to comment.