aboutsummaryrefslogtreecommitdiffstats
path: root/modules/packages/conan
diff options
context:
space:
mode:
Diffstat (limited to 'modules/packages/conan')
-rw-r--r--modules/packages/conan/conanfile_parser_test.go2
-rw-r--r--modules/packages/conan/conaninfo_parser_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/packages/conan/conanfile_parser_test.go b/modules/packages/conan/conanfile_parser_test.go
index 5801570184..aabafd5f64 100644
--- a/modules/packages/conan/conanfile_parser_test.go
+++ b/modules/packages/conan/conanfile_parser_test.go
@@ -40,7 +40,7 @@ class ConanPackageConan(ConanFile):
func TestParseConanfile(t *testing.T) {
metadata, err := ParseConanfile(strings.NewReader(contentConanfile))
- assert.Nil(t, err)
+ assert.NoError(t, err)
assert.Equal(t, license, metadata.License)
assert.Equal(t, author, metadata.Author)
assert.Equal(t, homepage, metadata.ProjectURL)
diff --git a/modules/packages/conan/conaninfo_parser_test.go b/modules/packages/conan/conaninfo_parser_test.go
index 556a4b939e..f6510ca667 100644
--- a/modules/packages/conan/conaninfo_parser_test.go
+++ b/modules/packages/conan/conaninfo_parser_test.go
@@ -50,7 +50,7 @@ const (
func TestParseConaninfo(t *testing.T) {
info, err := ParseConaninfo(strings.NewReader(contentConaninfo))
assert.NotNil(t, info)
- assert.Nil(t, err)
+ assert.NoError(t, err)
assert.Equal(
t,
map[string]string{