mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
sync: fix inconsistent test, used inject error fw for hard to reach test cases
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
408f043f1e
commit
45968e0bb7
@@ -793,7 +793,7 @@ func TestHardLink(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestWriteFile(t *testing.T) {
|
||||
func TestInjectWriteFile(t *testing.T) {
|
||||
Convey("writeFile with commit", t, func() {
|
||||
dir, err := ioutil.TempDir("", "oci-repo-test")
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
Reference in New Issue
Block a user