From 2de950cce78a342fb2aa47f6e472bc6d273d8d9b Mon Sep 17 00:00:00 2001 From: Vlad Klokun Date: Wed, 17 Aug 2022 21:08:35 +0300 Subject: [PATCH] chore!: scaninfo_test.go: remove commented out code --- core/cautils/scaninfo_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/cautils/scaninfo_test.go b/core/cautils/scaninfo_test.go index d15100eb..33a61b92 100644 --- a/core/cautils/scaninfo_test.go +++ b/core/cautils/scaninfo_test.go @@ -40,8 +40,5 @@ func TestGetHostname(t *testing.T) { func TestGetScanningContext(t *testing.T) { assert.Equal(t, ContextCluster, GetScanningContext("")) - // assert.Equal(t, ContextDir, GetScanningContext("/")) assert.Equal(t, ContextGitURL, GetScanningContext("https://github.com/armosec/kubescape")) - // assert.Equal(t, ContextFile, GetScanningContext(path.Join(".", "testdata", "localrepo.git"))) - // assert.Equal(t, ContextGitLocal, GetScanningContext(path.Join(".", "testdata"))) }