Skip to content

Commit

Permalink
Fixing linting in metrics_test.clj
Browse files Browse the repository at this point in the history
  • Loading branch information
mjayprateek committed Dec 6, 2019
1 parent 635ef20 commit 6672057
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/ziggurat/metrics_test.clj
Expand Up @@ -397,9 +397,9 @@
report-histogram-call-counts (atom 0)
expected-report-histogram-call-counts 2]
(with-redefs [metrics/report-histogram (fn [metric-namespaces metric additional-tags]
(when (and (some #{metric-namespaces} metric-namespaces-list)
(= metric expected-metric)
(= additional-tags expected-additional-tags))
(swap! report-histogram-call-counts inc)))]
(when (and (some #{metric-namespaces} metric-namespaces-list)
(= metric expected-metric)
(= additional-tags expected-additional-tags))
(swap! report-histogram-call-counts inc)))]
(metrics/multi-ns-report-histogram metric-namespaces-list expected-metric expected-additional-tags)
(is (= expected-report-histogram-call-counts @report-histogram-call-counts))))))

0 comments on commit 6672057

Please sign in to comment.