From 4348fb393e40e2a9896cdfe117097827c45a8ec6 Mon Sep 17 00:00:00 2001 From: Navneeth Jayendran Date: Sun, 23 Jun 2024 22:15:19 -0400 Subject: [PATCH] Fix bug --- linter/ginkgo_linter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linter/ginkgo_linter.go b/linter/ginkgo_linter.go index d1fd121..49f6ab8 100644 --- a/linter/ginkgo_linter.go +++ b/linter/ginkgo_linter.go @@ -534,7 +534,7 @@ func checkSucceedSync( matcherCopy := assertionExpCopy.Args[0].(*ast.CallExpr) return doCheckSucceed( - pass, assertionExpCopy, matcherCopy, actualArgs, handler, reportBuilder, false, + pass, assertionExpCopy, matcherCopy, actualArgs, handler, reportBuilder, true, suppressStyleIssue, ) } @@ -564,7 +564,7 @@ func checkSucceedAsync( assertionExpCopy := astcopy.CallExpr(assertionExp) matcherCopy := assertionExpCopy.Args[0].(*ast.CallExpr) - return doCheckSucceed(pass, assertionExpCopy, matcherCopy, actualArgs, handler, reportBuilder, false, suppressWarnings) + return doCheckSucceed(pass, assertionExpCopy, matcherCopy, actualArgs, handler, reportBuilder, true, suppressWarnings) } // Function that looks for Succeed matcher by recursively unwrapping the `matcher` argument and,