From 49fc1d73d63f71b7dc5e02277c3670e2ddf727d1 Mon Sep 17 00:00:00 2001 From: quobix Date: Sun, 3 Dec 2023 11:11:48 -0500 Subject: [PATCH] Added circular errors for resolver when they spin out of control when paths go nuts, vacuum will catch it. Signed-off-by: quobix --- go.mod | 2 +- go.sum | 4 ++-- vacuum-report/junit_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 11540a5f..d278504c 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/gizak/termui/v3 v3.1.0 github.com/json-iterator/go v1.1.12 github.com/mitchellh/mapstructure v1.5.0 - github.com/pb33f/libopenapi v0.13.18 + github.com/pb33f/libopenapi v0.13.19 github.com/pb33f/libopenapi-validator v0.0.32 github.com/pterm/pterm v0.12.71 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 diff --git a/go.sum b/go.sum index e1e0ef3a..5d1d3f9d 100644 --- a/go.sum +++ b/go.sum @@ -248,8 +248,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/pb33f/libopenapi v0.13.18 h1:/qUjitkoXW4itfC8bfWScDHa2sF/vEcxBJWtbOxKJfg= -github.com/pb33f/libopenapi v0.13.18/go.mod h1:Lv2eEtsAtbRFlF8hjH82L8SIGoUNgemMVoKoB6A9THk= +github.com/pb33f/libopenapi v0.13.19 h1:oFkaQuKx5ZaLwYuHv4W2QeDb+Pm4SU4xqgQdcy2XH58= +github.com/pb33f/libopenapi v0.13.19/go.mod h1:Lv2eEtsAtbRFlF8hjH82L8SIGoUNgemMVoKoB6A9THk= github.com/pb33f/libopenapi-validator v0.0.32 h1:jM+IsUT8I0JOtdkgacGVQmTJayQ2AO5P6URI2HxN11g= github.com/pb33f/libopenapi-validator v0.0.32/go.mod h1:1HbsnP1IVFEaLFtbK9eZXRqUpvtQEGmdstqbgMG+72A= github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= diff --git a/vacuum-report/junit_test.go b/vacuum-report/junit_test.go index 6ae5e8ca..dfa5f739 100644 --- a/vacuum-report/junit_test.go +++ b/vacuum-report/junit_test.go @@ -16,5 +16,5 @@ func TestBuildJUnitReport(t *testing.T) { j.ResultSet.Results[0].RuleId = "R0001" f := time.Now().Add(-time.Millisecond * 5) data := BuildJUnitReport(j.ResultSet, f) - assert.GreaterOrEqual(t, len(data), 409) + assert.GreaterOrEqual(t, len(data), 407) }