Skip to content

Commit c701951

Browse files
committed
🎨 Improve test readability
1 parent 9eea50b commit c701951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lice_comb/impl/splitting_test.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,5 @@
197197
(testing "No splitting of any names in the SPDX license and exception lists"
198198
(let [lic-names (map #(:name (slic/id->info %)) (slic/ids))
199199
exc-names (map #(:name (sexc/id->info %)) (sexc/ids))]
200-
(is (every? true? (map #(= % (s/join (split-on-operators %))) lic-names)))
201-
(is (every? true? (map #(= % (s/join (split-on-operators %))) exc-names))))))
200+
(run! #(is (= [%] (split-on-operators %))) lic-names)
201+
(run! #(is (= [%] (split-on-operators %))) exc-names))))

0 commit comments

Comments
 (0)