Multi doc supports updating all docs

This commit is contained in:
Mike Farah
2018-06-20 11:45:51 +10:00
parent facc81d1f4
commit fb87f638f2
4 changed files with 174 additions and 17 deletions
+2 -2
View File
@@ -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) {