aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/args_test.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-08 14:02:54 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-08 14:02:54 +0900
commitc6223771dbc9cf8a4a44424759591adb496f2ce5 (patch)
treea6ed0c021512a9a5e183973002f3d887b87bf70a /helper/args_test.go
parent3c5185d770859acc853cb09940d8345fa30b7f76 (diff)
helper: generalise helper.Helper test
For testing the upcoming bwrap implementation of helper.Helper as it must have identical behaviour. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'helper/args_test.go')
-rw-r--r--helper/args_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/args_test.go b/helper/args_test.go
index 5675a879..e8383c78 100644
--- a/helper/args_test.go
+++ b/helper/args_test.go
@@ -10,7 +10,7 @@ import (
)
func Test_argsFD_String(t *testing.T) {
- wantString := strings.Join(want, " ")
+ wantString := strings.Join(wantArgs, " ")
if got := argsWt.(fmt.Stringer).String(); got != wantString {
t.Errorf("String(): got %v; want %v",
got, wantString)