From 4a9c9bfd93123d0381890be2b381697414969de5 Mon Sep 17 00:00:00 2001 From: Jason Dellaluce Date: Fri, 1 Dec 2023 09:19:34 +0000 Subject: [PATCH] fix(tests/falco): solve issues with description tests for static builds Signed-off-by: Jason Dellaluce --- tests/falco/commands_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/falco/commands_test.go b/tests/falco/commands_test.go index 26e421e..e0be761 100644 --- a/tests/falco/commands_test.go +++ b/tests/falco/commands_test.go @@ -212,6 +212,7 @@ func TestFalco_Print_Rules(t *testing.T) { t.Run("json-valid-rules", func(t *testing.T) { t.Parallel() + checkNotStaticExecutable(t) res := falco.Test( runner, falco.WithArgs("-L"), @@ -220,6 +221,7 @@ func TestFalco_Print_Rules(t *testing.T) { falco.WithRules(rules.RulesDir000SingleRule, rules.RulesListWithPluginJSON), ) + assert.NoError(t, res.Err()) infos := res.RulesetDescription() assert.NotNil(t, infos)