Skip to content

Commit 72b3e9e

Browse files
committed
Update integration tests
1 parent 16a94e5 commit 72b3e9e

File tree

3 files changed

+39
-37
lines changed

3 files changed

+39
-37
lines changed

test/noahtheduke/splint/integrations/clj_kondo_test.clj

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
(def clj-kondo-diagnostics
1919
'{lint/assoc-fn 1
20-
lint/catch-throwable 6
20+
lint/catch-throwable 5
2121
lint/defmethod-names 6
2222
lint/dot-class-method 2
2323
lint/fn-wrapper 1
@@ -31,24 +31,24 @@
3131
lint/no-catch 1
3232
lint/no-op-assignment 2
3333
lint/redundant-str-call 1
34-
lint/thread-macro-one-arg 70
34+
lint/thread-macro-one-arg 72
3535
lint/try-splicing 3
36-
lint/warn-on-reflection 112
37-
metrics/fn-length 227
38-
metrics/parameter-count 32
36+
lint/warn-on-reflection 115
37+
metrics/fn-length 235
38+
metrics/parameter-count 33
3939
naming/conventional-aliases 5
4040
naming/record-name 1
41-
performance/assoc-many 91
42-
performance/dot-equals 83
43-
performance/get-keyword 12
44-
performance/single-literal-merge 2
41+
performance/assoc-many 97
42+
performance/dot-equals 99
43+
performance/get-keyword 11
44+
performance/single-literal-merge 1
4545
style/apply-str 1
4646
style/apply-str-interpose 1
4747
style/eq-true 3
4848
style/multiple-arity-order 1
4949
style/neg-checks 1
5050
style/new-object 4
51-
style/not-eq 3
51+
style/not-eq 4
5252
style/not-some-pred 2
5353
style/pos-checks 1
5454
style/prefer-clj-string 5
@@ -57,11 +57,11 @@
5757
style/single-key-in 1
5858
style/tostring 2
5959
style/useless-do 2
60-
style/when-not-call 12})
60+
style/when-not-call 13})
6161

6262
(defdescribe clj-kondo-test
6363
(let [clj-kondo (delay (gl/procure "https://github.com/clj-kondo/clj-kondo.git"
64-
'clj-kondo/clj-kondo "v2025.06.05"))
64+
'clj-kondo/clj-kondo "v2025.10.23"))
6565
results (delay
6666
(run-impl [{:path (str @clj-kondo "/src")}
6767
{:path (str @clj-kondo "/test")}]
@@ -83,7 +83,7 @@
8383
(m/equals clj-kondo-diagnostics)
8484
(update-vals* @diagnostics count))))
8585
(it "sums correctly"
86-
(expect (= 712 (count (:diagnostics @results)))))
86+
(expect (= 747 (count (:diagnostics @results)))))
8787
(it "raises no errors"
8888
(expect (nil? (get @diagnostics 'splint/error))))
8989
(it "raises no unknown errors"

test/noahtheduke/splint/integrations/clojure_lsp_test.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
lint/let-when 1
2828
lint/redundant-call 1
2929
lint/thread-macro-one-arg 116
30-
lint/warn-on-reflection 148
31-
metrics/fn-length 293
30+
lint/warn-on-reflection 147
31+
metrics/fn-length 296
3232
metrics/parameter-count 47
3333
naming/conventional-aliases 56
3434
naming/conversion-functions 6
@@ -63,7 +63,7 @@
6363

6464
(defdescribe clojure-lsp-test
6565
(let [clojure-lsp (delay (gl/procure "https://github.com/clojure-lsp/clojure-lsp.git"
66-
'com.github.clojure-lsp/clojure-lsp "2025.06.13-20.45.44"))
66+
'com.github.clojure-lsp/clojure-lsp "2025.08.25-14.21.46"))
6767
results (delay
6868
(run-impl [{:path @clojure-lsp}]
6969
{:config-override
@@ -82,6 +82,6 @@
8282
(m/equals clojure-lsp-diagnostics)
8383
(update-vals* @diagnostics count))))
8484
(it "sums correctly"
85-
(expect (= 1269 (count (:diagnostics @results)))))
85+
(expect (= 1271 (count (:diagnostics @results)))))
8686
(it "raises no errors"
8787
(expect (nil? (get diagnostics 'splint/error))))))

test/noahtheduke/splint/integrations/netrunner_test.clj

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,29 @@
1919
'{lint/assoc-fn 6
2020
lint/catch-throwable 1
2121
lint/defmethod-names 295
22-
lint/fn-wrapper 45
23-
lint/identical-branches 9
24-
lint/if-else-nil 13
22+
lint/fn-wrapper 44
23+
lint/identical-branches 11
24+
lint/if-else-nil 12
2525
lint/if-let-else-nil 2
2626
lint/if-nil-else 5
2727
lint/if-not-both 27
2828
lint/if-same-truthy 5
29-
lint/into-literal 50
29+
lint/into-literal 49
3030
lint/let-if 3
31+
lint/let-when 1
32+
lint/missing-body-in-when 1
3133
lint/redundant-call 2
32-
lint/redundant-str-call 47
33-
lint/thread-macro-one-arg 93
34-
lint/warn-on-reflection 184
35-
metrics/fn-length 614
36-
metrics/parameter-count 249
34+
lint/redundant-str-call 44
35+
lint/thread-macro-one-arg 95
36+
lint/warn-on-reflection 186
37+
metrics/fn-length 638
38+
metrics/parameter-count 255
3739
naming/conventional-aliases 34
38-
naming/conversion-functions 12
40+
naming/conversion-functions 13
3941
naming/predicate 27
40-
performance/assoc-many 297
41-
performance/dot-equals 1256
42-
performance/get-keyword 4
42+
performance/assoc-many 259
43+
performance/dot-equals 1269
44+
performance/get-keyword 6
4345
performance/into-transducer 9
4446
performance/single-literal-merge 17
4547
style/apply-str 1
@@ -49,13 +51,12 @@
4951
style/eq-false 3
5052
style/eq-nil 17
5153
style/eq-true 2
52-
style/eq-zero 294
53-
style/filter-complement 28
54+
style/eq-zero 297
55+
style/filter-complement 29
5456
style/filter-vec-filterv 2
5557
style/first-first 2
56-
style/first-next 1
5758
style/is-eq-order 128
58-
style/minus-one 9
59+
style/minus-one 10
5960
style/multiple-arity-order 3
6061
style/multiply-by-one 1
6162
style/neg-checks 1
@@ -65,6 +66,7 @@
6566
style/not-some-pred 17
6667
style/plus-one 17
6768
style/pos-checks 2
69+
style/prefer-boolean 1
6870
style/prefer-clj-math 18
6971
style/prefer-clj-string 5
7072
style/prefer-condp 4
@@ -74,14 +76,14 @@
7476
style/redundant-regex-constructor 9
7577
style/single-key-in 41
7678
style/tostring 2
77-
style/useless-do 4
79+
style/useless-do 5
7880
style/when-do 4
7981
style/when-not-call 29
8082
style/when-not-empty? 13})
8183

8284
(defdescribe netrunner-test
8385
(let [netrunner (delay (gl/procure "https://github.com/mtgred/netrunner.git"
84-
'mtgred/netrunner "v151"))
86+
'mtgred/netrunner "v157.1"))
8587
results (delay
8688
(run-impl [{:path @netrunner}]
8789
{:config-override
@@ -100,7 +102,7 @@
100102
(m/equals netrunner-diagnostics)
101103
(update-vals* @diagnostics count))))
102104
(it "sums correctly"
103-
(expect (= 4020 (count (:diagnostics @results)))))
105+
(expect (= 4036 (count (:diagnostics @results)))))
104106
(it "raises no errors"
105107
(expect (nil? (get diagnostics 'splint/error))))
106108
(it "raises no unknown errors"

0 commit comments

Comments
 (0)