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>
This commit is contained in:
2024-10-08 14:02:54 +09:00
parent 3c5185d770
commit c6223771db
3 changed files with 151 additions and 157 deletions

View File

@@ -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)