neo-go/pkg/io
AnnaShaleva 7c48177bf7 io: fix TestMakeDirForFile* tests
Problem:
```
--- FAIL: TestMakeDirForFile_HappyPath (0.01s)
    testing.go:894: TempDir RemoveAll cleanup: remove C:\Users\Anna\AppData\Local\Temp\TestMakeDirForFile_HappyPath402638411\001\testDir\testFile.test: The process cannot access the file because it is being used by another process.
--- FAIL: TestMakeDirForFile_Negative (0.01s)
    testing.go:894: TempDir RemoveAll cleanup: remove C:\Users\Anna\AppData\Local\Temp\TestMakeDirForFile_Negative672737582\001\testFile.test: The process cannot access the file because it is being used by another process.
FAIL
```

Solution:
Release resources occupied by os.Create.
2021-11-26 18:26:27 +03:00
..
binaryBufWriter.go io: drop one allocation from NewBufBinWriter 2021-08-20 11:38:42 +03:00
binaryReader.go transaction: avoid reencoding and reading what can't be read 2021-08-23 21:41:38 +03:00
binaryrw_test.go io: allow to restrict slice size in ReadVarBytes 2020-06-27 12:17:27 +03:00
binaryWriter.go io: add Grow to BinWriter 2021-08-09 12:05:31 +03:00
fileWriter.go always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
fileWriter_test.go io: fix TestMakeDirForFile* tests 2021-11-26 18:26:27 +03:00
serializable.go io: optimize BinWriter.WriteArray() 2019-12-09 14:59:49 +03:00
size.go *: drop unnecessary fmt.Sprintf uses 2021-05-12 18:29:39 +03:00
size_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00