From 960135e593c9a2ea16ce5e3af0d63c133594bdcf Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Mon, 15 Jul 2024 23:18:04 +0100 Subject: [PATCH] test(build): update userspace unit test. --- pkg/prebuild/builder/core_test.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkg/prebuild/builder/core_test.go b/pkg/prebuild/builder/core_test.go index c242259f..597832b9 100644 --- a/pkg/prebuild/builder/core_test.go +++ b/pkg/prebuild/builder/core_test.go @@ -228,14 +228,8 @@ func TestBuilder_Apply(t *testing.T) { include if exists }`, - want: ` - profile foo /usr/bin/foo { - include - - /usr/bin/foo mr, - - include if exists - }`, + want: "", + wantErr: true, }, } for _, tt := range tests {