mirror of
https://github.com/taigrr/yq
synced 2025-01-18 04:53:17 -08:00
fixing test lint
This commit is contained in:
parent
8d6e3a6a75
commit
a9ade5a832
@ -847,7 +847,10 @@ c:
|
|||||||
|
|
||||||
func TestMergeCmd_Inplace(t *testing.T) {
|
func TestMergeCmd_Inplace(t *testing.T) {
|
||||||
filename := writeTempYamlFile(readTempYamlFile("examples/data1.yaml"))
|
filename := writeTempYamlFile(readTempYamlFile("examples/data1.yaml"))
|
||||||
os.Chmod(filename, os.FileMode(int(0666)))
|
err := os.Chmod(filename, os.FileMode(int(0666)))
|
||||||
|
if err != nil {
|
||||||
|
t.Error(err)
|
||||||
|
}
|
||||||
defer removeTempYamlFile(filename)
|
defer removeTempYamlFile(filename)
|
||||||
|
|
||||||
cmd := getRootCommand()
|
cmd := getRootCommand()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user