From 6e7ba5394e191d29455eb1aab769101301271f85 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Wed, 30 Oct 2024 12:00:07 +0100 Subject: [PATCH] pass tests Signed-off-by: Pierre Fenoll --- pkg/runtime/exec_init.go | 10 ++++++++++ pkg/runtime/fmt_warnings_test.go | 3 --- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pkg/runtime/exec_init.go b/pkg/runtime/exec_init.go index 29489ce6..f3ad1446 100644 --- a/pkg/runtime/exec_init.go +++ b/pkg/runtime/exec_init.go @@ -158,6 +158,16 @@ var starlarkExtendedUniverse = map[string][]string{ }, "set": { + "add", + "clear", + "difference", + "discard", + "intersection", + "issubset", + "issuperset", + "pop", + "remove", + "symmetric_difference", "union", }, } diff --git a/pkg/runtime/fmt_warnings_test.go b/pkg/runtime/fmt_warnings_test.go index 7b385a2d..4a7a8c81 100644 --- a/pkg/runtime/fmt_warnings_test.go +++ b/pkg/runtime/fmt_warnings_test.go @@ -26,7 +26,6 @@ func TestFmtWarnings(t *testing.T) { "git-repository", "http-archive", "load", - "load-on-top", "module-docstring", "native-android", "native-build", @@ -35,14 +34,12 @@ func TestFmtWarnings(t *testing.T) { "native-package", "native-proto", "native-py", - "out-of-order-load", "output-group", "package-name", "package-on-top", "provider-params", "repository-name", "rule-impl-return", - "same-origin-load", } require.Subset(t, warn.AllWarnings, deny) require.IsIncreasing(t, deny)