From c53bb543203eafb97f7abe59eba0680ee7f447ec Mon Sep 17 00:00:00 2001 From: Argonui Date: Thu, 3 Nov 2022 10:35:43 -0500 Subject: [PATCH] Allow compare_test to pass when run on github This test is meant to be run as manual check only --- compare_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compare_test.go b/compare_test.go index 818dbcf..c356234 100644 --- a/compare_test.go +++ b/compare_test.go @@ -163,7 +163,7 @@ func compareObjs(t *testing.T, guid string, a, b map[string]interface{}) error { func TestDiff(t *testing.T) { if *altModfile == "" || *modfile == "" { - t.Errorf("No file provided to test") + // if run automatically, ignore this test return } err := compareDelta(t, *modfile, *altModfile)