mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-28 23:20:10 +02:00
сделал ReadFile_Linux_Windows()
This commit is contained in:
@@ -1843,3 +1843,12 @@ func TestFindPos(t *testing.T) {
|
||||
t.Error("TestFindPos() error")
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadFile_Linux_Windows(t *testing.T) {
|
||||
dir := ProgramDir()
|
||||
MassBytes, err := ReadFile_Linux_Windows(dir + ".env_empty")
|
||||
if err != nil {
|
||||
t.Error("ReadFile_Linux_Windows() error: ", err)
|
||||
}
|
||||
fmt.Print(MassBytes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user