aboutsummaryrefslogtreecommitdiff
path: root/sudo_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-16 22:59:22 +0700
committerShulhan <ms@kilabit.info>2023-11-16 22:59:22 +0700
commit4c17c972104e2dc50dbee4138c992f620e7f10bd (patch)
tree49b73e28694857fb490dccda035214f11f5047f0 /sudo_test.go
parentf2b71ae4bf9d264d5c6ea51edc2d402e462e2033 (diff)
downloadawwan-4c17c972104e2dc50dbee4138c992f620e7f10bd.tar.xz
all: refactoring, rename Request to ExecRequest
Diffstat (limited to 'sudo_test.go')
-rw-r--r--sudo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sudo_test.go b/sudo_test.go
index dc3c359..b8700ff 100644
--- a/sudo_test.go
+++ b/sudo_test.go
@@ -24,7 +24,7 @@ func TestExecLocal_sudo(t *testing.T) {
var (
mockin = &mockStdin{}
mockout = &bytes.Buffer{}
- req = &Request{
+ req = &ExecRequest{
stdin: mockin,
}
err error