Add path tag to tail tests

This commit is contained in:
Daniel Nelson
2018-07-09 17:39:51 -07:00
parent 9491cd91cd
commit 7591a50d52

View File

@@ -43,6 +43,7 @@ func TestTailFromBeginning(t *testing.T) {
},
map[string]string{
"mytag": "foo",
"path": tmpfile.Name(),
})
}
@@ -84,6 +85,7 @@ func TestTailFromEnd(t *testing.T) {
},
map[string]string{
"othertag": "foo",
"path": tmpfile.Name(),
})
assert.Len(t, acc.Metrics, 1)
}