Source

metrics-clojure / metrics-clojure-core / test / metrics / test / gauges.clj

Diff from to

File metrics-clojure-core/test/metrics/test/gauges.clj

   (:require [metrics.gauges :as gauges])
   (:use [clojure.test]))
 
+(gauges/defgauge ["test" "gauges" "defgauged"]
+  1001)
+
+(deftest test-defgauge
+  (is (= (gauges/value defgauged) 1001)))
 
 (deftest test-gauge
   (let [g (gauges/gauge ["test" "gauges" "test-gauge"]