summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-09-08 00:27:55 +0700
committerShulhan <ms@kilabit.info>2024-09-08 01:02:37 +0700
commit3b31997d03c5fe1d61831b8601148d45403d6667 (patch)
treeb234fbec58bdc3b0de998ab244d0ad788d35ba4c
parent9586bba13a451a5bcdf9b9916dbb40cfd72a12bc (diff)
downloadawwan-3b31997d03c5fe1d61831b8601148d45403d6667.tar.xz
all: fix linter warnings
-rw-r--r--awwan_local_test.go2
-rw-r--r--session_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/awwan_local_test.go b/awwan_local_test.go
index 7c1b957..a36be2e 100644
--- a/awwan_local_test.go
+++ b/awwan_local_test.go
@@ -448,7 +448,7 @@ func TestAwwanLocal_withEncryption(t *testing.T) {
)
for _, c = range cases {
- t.Logf(c.desc)
+ t.Log(c.desc)
req, err = NewExecRequest(CommandModeLocal, c.script, c.lineRange)
if err != nil {
diff --git a/session_test.go b/session_test.go
index 281c2cc..c7da497 100644
--- a/session_test.go
+++ b/session_test.go
@@ -71,7 +71,7 @@ func TestSession_generatePaths(t *testing.T) {
)
for _, c = range cases {
- t.Logf(c.scriptPath)
+ t.Log(c.scriptPath)
scriptPath = filepath.Clean(c.scriptPath)
ses.ScriptDir = filepath.Dir(scriptPath)