From 560cb626a1a8f7d4bfca5d30f262cc90fb5d4608 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 10 Apr 2026 20:39:06 +0900 Subject: hst: remove enablement json adapter The go116 behaviour of built-in new function makes this cleaner. Signed-off-by: Ophestra --- internal/system/dispatcher_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/system/dispatcher_test.go') diff --git a/internal/system/dispatcher_test.go b/internal/system/dispatcher_test.go index 977140ec..3bf14e75 100644 --- a/internal/system/dispatcher_test.go +++ b/internal/system/dispatcher_test.go @@ -27,7 +27,7 @@ func call(name string, args stub.ExpectArgs, ret any, err error) stub.Call { type opBehaviourTestCase struct { name string uid int - ec hst.Enablement + ec hst.Enablements op Op apply []stub.Call @@ -158,7 +158,7 @@ type opMetaTestCase struct { name string op Op - wantType hst.Enablement + wantType hst.Enablements wantPath string wantString string } -- cgit v1.3.1