diff options
Diffstat (limited to 'system/xhost_test.go')
| -rw-r--r-- | system/xhost_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/xhost_test.go b/system/xhost_test.go index df0e8166..32cb0636 100644 --- a/system/xhost_test.go +++ b/system/xhost_test.go @@ -11,7 +11,7 @@ func TestChangeHosts(t *testing.T) { sys := New(t.Context(), 150) sys.ChangeHosts(tc) (&tcOp{EX11, tc}).test(t, sys.ops, []Op{ - XHostOp(tc), + xhostOp(tc), }, "ChangeHosts") }) } @@ -26,7 +26,7 @@ func TestXHost_String(t *testing.T) { } for _, tc := range testCases { t.Run(tc.want, func(t *testing.T) { - if got := XHostOp(tc.username).String(); got != tc.want { + if got := xhostOp(tc.username).String(); got != tc.want { t.Errorf("String() = %v, want %v", got, tc.want) } }) |
