Skip to content

Commit

Permalink
Linting fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol Vijaywargiya committed Aug 16, 2021
1 parent 8f1108e commit f0293c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/ziggurat/messaging/consumer_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,5 @@
(testing "should return nil if message isn't nippy or proto serialized"
(with-redefs [lb/publish (fn [_ _ _ _] nil)]
(let [random-bytes-as-message-payload (.getBytes (String. "Hello World"))
converted-message-payload (consumer/convert-and-ack-message nil {:delivery-tag 1} random-bytes-as-message-payload false "default")]
(is (= converted-message-payload nil)))))))
converted-message-payload (consumer/convert-and-ack-message nil {:delivery-tag 1} random-bytes-as-message-payload false "default")]
(is (= converted-message-payload nil)))))))
1 change: 0 additions & 1 deletion test/ziggurat/messaging/producer_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@
(let [message-from-mq (rmq/get-message-from-retry-queue "default" 1)]
(is (= (bytes-to-str message-from-mq) (bytes-to-str expected-message)))))))


(testing "message with available retry counts as 4 will be published to delay queue with suffix 2"
(fix/with-queues
{:default {:handler-fn #(constantly nil)}}
Expand Down

0 comments on commit f0293c4

Please sign in to comment.