mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-07 02:48:27 +08:00
Multi doc supports updating all docs
This commit is contained in:
+2
-2
@@ -29,10 +29,10 @@ func TestRead(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestReadMulti(t *testing.T) {
|
||||
docIndex = 1
|
||||
docIndex = "1"
|
||||
result, _ := read([]string{"examples/multiple_docs.yaml", "another.document"})
|
||||
assertResult(t, "here", result)
|
||||
docIndex = 0
|
||||
docIndex = "0"
|
||||
}
|
||||
|
||||
func TestReadArray(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user