Commit 2cafa24d
2cafa24d78daMerged
Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 2 files ยท ~2 modified
Description
fix: unit tests
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- 2cafa24d78da
- Parent
- 7b85d1f2575f
pkg/release/config_test.gomodifiedView file
@@ -4,7 +4,6 @@
44
"testing"55
66
"github.com/helmwave/helmwave/pkg/release"7-
"github.com/helmwave/helmwave/pkg/release/uniqname"87
"github.com/stretchr/testify/suite"98
)109
@@ -31,9 +30,7 @@
3130
r.NameF = "redis"3231
r.NamespaceF = ""3332
34-
var e *uniqname.ValidationError35-
s.Require().ErrorAs(r.Uniq().Validate(), &e)36-
s.Equal(r.Uniq().String(), e.Uniq)33+
s.Error(r.Uniq().Validate())3734
}3835
3936
func (s *ConfigTestSuite) TestDependsOn() {pkg/release/validate_test.gomodifiedView file
Loading diffโฆ