stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
23.15k stars 1.59k forks source link

suite: fix TestSubtestPanic failure (#1501) #1503

Closed dolmen closed 11 months ago

dolmen commented 11 months ago

Summary

The subtest of TestSubtestPanic is expected to fail, but that must not make the testuite of package 'suite' to fail. So call Skip to make go test to ignore that expected failure.

Changes

Motivation

suite testsuite failure (#1501).

Related issues

Cc: @linusbarth @xwjdsh

dolmen commented 11 months ago

Replaced by #1504.