Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Smet committed Oct 17, 2023
1 parent ffce332 commit eb01d74
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 20 deletions.
12 changes: 0 additions & 12 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
(run 'lint:kondo))
lint:cs (shell "cljfmt fix")
lint:cs:check (shell "cljfmt check")
lint:kondo (shell "clj-kondo --lint FourClojure")}}
lint:kondo (shell "clj-kondo --lint test")}}
2 changes: 1 addition & 1 deletion test/code_basics/p8_state_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
; 38. https://code-basics.com/ru/languages/clojure/lessons/atoms-validation
(defn vec-even?
[vector]
(and (not (empty? vector))
(and (not (boolean (empty? vector)))
(vector? vector)
(every? even? vector)))

Expand Down
8 changes: 4 additions & 4 deletions test/four_clojure_org/p001_10/p10_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
; functions. Commas are whitespace.

(def __ (:b {:a 10
:b 20
:c 30}))
:b 20
:c 30}))

(deftest problem-test
(is (= __ ((hash-map :a 10, :b 20, :c 30) :b)))
(is (= __ (:b {:a 10,
:b 20,
:c 30}))))
:b 20,
:c 30}))))
4 changes: 2 additions & 2 deletions test/four_clojure_org/p011_20/p11_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@

(deftest problem-test
(is (= {:a 1,
:b 2,
:c 3} (conj {:a 1} __ [:c 3]))))
:b 2,
:c 3} (conj {:a 1} __ [:c 3]))))

0 comments on commit eb01d74

Please sign in to comment.