Mainly fixing linter (kondo) whines.
This commit is contained in:
parent
5c70bd0c91
commit
2461319e57
|
@ -229,7 +229,7 @@
|
||||||
{:verb (:verb rule)}
|
{:verb (:verb rule)}
|
||||||
(map (fn [k] {k (apply (k rule) (list item))})
|
(map (fn [k] {k (apply (k rule) (list item))})
|
||||||
(remove
|
(remove
|
||||||
#(= % :verb)
|
#{:verb}
|
||||||
(keys rule))))))
|
(keys rule))))))
|
||||||
|
|
||||||
(declare learn-news-item)
|
(declare learn-news-item)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.gossip.news-items-test
|
(ns cc.journeyman.the-great-game.gossip.news-items-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.gossip.news-items :refer
|
[cc.journeyman.the-great-game.gossip.news-items :refer
|
||||||
[degrade-location infer interest-in-location interesting-location?
|
[degrade-location infer interest-in-location interesting-location?
|
||||||
learn-news-item make-all-inferences]]))
|
learn-news-item make-all-inferences]]))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.merchants.markets-test
|
(ns cc.journeyman.the-great-game.merchants.markets-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.utils :refer [deep-merge]]
|
[cc.journeyman.the-great-game.utils :refer [deep-merge]]
|
||||||
[cc.journeyman.the-great-game.world.world :refer [default-world]]
|
[cc.journeyman.the-great-game.world.world :refer [default-world]]
|
||||||
[cc.journeyman.the-great-game.merchants.markets :refer [adjust-quantity-and-price new-price run]]))
|
[cc.journeyman.the-great-game.merchants.markets :refer [adjust-quantity-and-price new-price run]]))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.merchants.merchant-utils-test
|
(ns cc.journeyman.the-great-game.merchants.merchant-utils-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.utils :refer [deep-merge]]
|
[cc.journeyman.the-great-game.utils :refer [deep-merge]]
|
||||||
[cc.journeyman.the-great-game.world.world :refer [default-world]]
|
[cc.journeyman.the-great-game.world.world :refer [default-world]]
|
||||||
[cc.journeyman.the-great-game.merchants.merchant-utils :refer
|
[cc.journeyman.the-great-game.merchants.merchant-utils :refer
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.merchants.planning-test
|
(ns cc.journeyman.the-great-game.merchants.planning-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.utils :refer [deep-merge]]
|
[cc.journeyman.the-great-game.utils :refer [deep-merge]]
|
||||||
[cc.journeyman.the-great-game.world.world :refer [default-world]]
|
[cc.journeyman.the-great-game.world.world :refer [default-world]]
|
||||||
[cc.journeyman.the-great-game.merchants.planning :refer [plan-trade select-cargo]]))
|
[cc.journeyman.the-great-game.merchants.planning :refer [plan-trade select-cargo]]))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.time-test
|
(ns cc.journeyman.the-great-game.time-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
;; [clojure.core.async :refer [thread <!]]
|
;; [clojure.core.async :refer [thread <!]]
|
||||||
[cc.journeyman.the-great-game.time :refer
|
[cc.journeyman.the-great-game.time :refer
|
||||||
[date-string day days-in-season days-in-week game-day-length
|
[date-string day days-in-season days-in-week game-day-length
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.utils-test
|
(ns cc.journeyman.the-great-game.utils-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.utils :refer [cyclic?]]))
|
[cc.journeyman.the-great-game.utils :refer [cyclic?]]))
|
||||||
|
|
||||||
(deftest cyclic-tests
|
(deftest cyclic-tests
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
(ns cc.journeyman.the-great-game.world.location-test
|
(ns cc.journeyman.the-great-game.world.location-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.world.location :refer :all]))
|
[cc.journeyman.the-great-game.world.location :refer [distance-between get-coords]]))
|
||||||
|
|
||||||
(deftest get-coords-test
|
(deftest get-coords-test
|
||||||
(testing "Get coordinates of location"
|
(testing "Get coordinates of location"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns cc.journeyman.the-great-game.world.routes-test
|
(ns cc.journeyman.the-great-game.world.routes-test
|
||||||
(:require [clojure.test :refer :all]
|
(:require [clojure.test :refer [deftest is testing]]
|
||||||
[cc.journeyman.the-great-game.world.routes :refer [find-routes]]
|
[cc.journeyman.the-great-game.world.routes :refer [find-routes]]
|
||||||
[cc.journeyman.the-great-game.world.world :refer [default-world]]))
|
[cc.journeyman.the-great-game.world.world :refer [default-world]]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue