mirror of
https://github.com/mikefarah/yq.git
synced 2025-03-14 15:55:37 +00: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…
Reference in New Issue
Block a user