diff options
| author | Shulhan <ms@kilabit.info> | 2023-10-30 21:59:17 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-10-30 22:00:34 +0700 |
| commit | 209e9ddd1d49fd6b9384fa0dab27760480fba442 (patch) | |
| tree | bbf96f0073f71329b4913a38138b05199b9692a0 /awwan_play_test.go | |
| parent | a4df1481d6108731e231750721e4d2cfe0cee8bd (diff) | |
| download | awwan-209e9ddd1d49fd6b9384fa0dab27760480fba442.tar.xz | |
all: pass Request when creating new SSH client
Instead of passing stdout and stderr as "io.Writer", pass the Request,
so we can log using the Request mlog.
While at it, return error from sshClient rmdirAll so the caller can log
the error.
Diffstat (limited to 'awwan_play_test.go')
| -rw-r--r-- | awwan_play_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awwan_play_test.go b/awwan_play_test.go index 943ddab..0afd100 100644 --- a/awwan_play_test.go +++ b/awwan_play_test.go @@ -68,7 +68,7 @@ func TestAwwan_Play_withLocal(t *testing.T) { } var exp = string(tdata.Output[`play_with_local:output`]) - test.Assert(t, `output`, exp, logw.String()) + test.Assert(t, `play_with_local:output`, exp, logw.String()) } func TestAwwan_Play_Get(t *testing.T) { |
