Replacing require.nil in model package (#16953)

* Replacing require.nil in model package

* Fixing tests

* Update model/file_info_test.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* Update model/file_info_test.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Jesús Espino
2021-02-24 11:09:52 +01:00
коммит произвёл GitHub
родитель 0d6c8f4f72
Коммит 6b388871a9
18 изменённых файлов: 107 добавлений и 102 удалений

Просмотреть файл

@@ -29,5 +29,5 @@ func TestBundleInfoForPath(t *testing.T) {
assert.Equal(t, info.Path, dir)
assert.NotNil(t, info.Manifest)
assert.Equal(t, info.ManifestPath, path)
assert.Nil(t, info.ManifestError)
assert.NoError(t, info.ManifestError)
}