add test for stream command

This commit is contained in:
Yasuhiro Matsumoto 2017-04-20 10:39:20 +09:00
parent 1a101faaae
commit cc5f65b3bf
2 changed files with 75 additions and 0 deletions

View file

@ -56,6 +56,8 @@ func cmdStream(c *cli.Context) error {
close(q)
}()
c.App.Metadata["signal"] = sc
s := newScreen(config)
for e := range q {
if asJSON {