diff options
Diffstat (limited to 'http_server_test.go')
| -rw-r--r-- | http_server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_server_test.go b/http_server_test.go index ce75997..7dcff3f 100644 --- a/http_server_test.go +++ b/http_server_test.go @@ -305,7 +305,7 @@ func TestHttpServer_Execute(t *testing.T) { fmt.Fprintf(&buf, "event: %s\n", ev.Type) } if len(ev.Data) != 0 { - fmt.Fprintf(&buf, "data: %s\n", ev.Data) + fmt.Fprintf(&buf, "data: %q\n", ev.Data) } if len(ev.ID) != 0 { fmt.Fprintf(&buf, "id: %s\n", ev.ID) |
