add info and SSE streams and response example to readme

This commit is contained in:
Umputun
2019-06-18 12:58:50 -05:00
parent 64bc99fc8d
commit 896f67ecdc
2 changed files with 34 additions and 3 deletions
+1 -1
View File
@@ -741,7 +741,7 @@ func TestRest_LastCommentsStream(t *testing.T) {
recs := strings.Split(strings.TrimSuffix(string(body), "\n"), "\n")
require.Equal(t, 9*3, len(recs), "9 events")
t.Logf("%v", recs)
t.Logf("%s", string(body))
assert.True(t, strings.Contains(recs[1], `test 123`), recs[1])
}