Skip to content

Commit 5d49f4d

Browse files
committed
fix(test): the test skipping condition has been reversed
1 parent 5481e50 commit 5d49f4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stacktrace_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ func TestStacktrace(t *testing.T) {
4444

4545
bi, ok := debug.ReadBuildInfo()
4646
is.True(ok)
47-
if strings.Contains(bi.Path, "github.com/samber/oops") {
47+
48+
if !strings.Contains(bi.Path, "github.com/samber/oops") {
4849
t.Skip("This test is meant to run on oops main repo")
4950
}
5051

0 commit comments

Comments
 (0)