Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke committed Nov 26, 2024
1 parent cfc2028 commit b34a66d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/noahtheduke/splint/clj_kondo_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
lint/if-let-else-nil 2
lint/if-nil-else 2
lint/if-not-both 3
lint/into-literal 1
lint/let-if 8
lint/let-when 2
lint/missing-body-in-when 2
Expand Down Expand Up @@ -100,4 +99,4 @@
(m/equals clj-kondo-diagnostics)
(update-vals @diagnostics count))))
(it "sums correctly"
(expect (= 1331 (count (:diagnostics @results)))))))
(expect (= 1330 (count (:diagnostics @results)))))))
4 changes: 2 additions & 2 deletions test/noahtheduke/splint/netrunner_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
lint/if-nil-else 4
lint/if-not-both 26
lint/if-same-truthy 5
lint/into-literal 43
lint/into-literal 42
lint/let-if 3
lint/redundant-call 2
lint/redundant-str-call 44
Expand Down Expand Up @@ -97,6 +97,6 @@
(m/equals netrunner-diagnostics)
(update-vals @diagnostics count))))
(it "sums correctly"
(expect (= 3720 (count (:diagnostics @results)))))
(expect (= 3719 (count (:diagnostics @results)))))
(it "checks the correct number of files"
(expect (= 242 (count (:checked-files @results)))))))

0 comments on commit b34a66d

Please sign in to comment.