Skip to content

Commit

Permalink
v0.8.131
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 21, 2024
1 parent cc4486b commit e7d84af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[Squint](https://github.com/squint-cljs/squint): Light-weight ClojureScript dialect

## v0.8.130 (2024-12-21)
## v0.8.131 (2024-12-21)

- [#596](https://github.com/squint-cljs/squint/issues/596): fix unary division to produce reciprocal

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "squint-cljs",
"type": "module",
"sideEffects": false,
"version": "0.8.130",
"version": "0.8.131",
"files": [
"core.js",
"src/squint/core.js",
Expand Down
3 changes: 2 additions & 1 deletion test/squint/compiler_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,8 @@ new Foo();")
(jsv! "(= \"foo\" (clj->js \"foo\"))"))))

(deftest divide-single-arg-test
(is (= 0.5 (jsv! "(/ 2)"))))
(is (= 0.5 (jsv! "(/ 2)")))
(is (= 0.5 (jsv! "(let [f (fn [] (/ 2))] (f))"))))

(defn init []
(t/run-tests 'squint.compiler-test 'squint.jsx-test 'squint.string-test 'squint.html-test))

0 comments on commit e7d84af

Please sign in to comment.