You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/09/15 21:58:51 UTC

[GitHub] [couchdb] nickva commented on a diff in pull request #4178: Add test coverage to prevent junk in eventsource

nickva commented on code in PR #4178:
URL: https://github.com/apache/couchdb/pull/4178#discussion_r972451355


##########
test/elixir/test/changes_async_test.exs:
##########
@@ -103,6 +103,30 @@ defmodule ChangesAsyncTest do
     HTTPotion.stop_worker_process(worker_pid)
   end
 
+  @tag :with_db
+  test "eventsource no junk in response", context do
+    db_name = context[:db_name]
+
+    check_empty_db(db_name)
+    create_doc(db_name, sample_doc_foo())
+    create_doc_bar(db_name, "bar")
+    

Review Comment:
   In the editor this line I think was showing as having 4 spaces. Ideally it would be just a newline (without trailing whitespace).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org