Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ikappaki committed Oct 31, 2024
1 parent 7b33fb6 commit 9adea0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "basilisp-blender"
version = "0.2.0b1"
version = "0.2.0b2"
description = ""
authors = ["ikappaki"]
readme = "README.md"
Expand Down
5 changes: 2 additions & 3 deletions tests/basilisp_blender/integration/bpy_utils_test.lpy
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,8 @@
;; Test error handling
(let [{:keys [err exc]} (with-client-eval!
(/ 1 0))]
(is (= "ZeroDivisionError('Fraction(1, 0)')" err))
(is (str/starts-with? exc "Traceback (most recent call last):") exc))
)))
(is (str/includes? err "ZeroDivisionError: Fraction(1, 0)") err)
(is (str/starts-with? exc "Traceback (most recent call last):") exc)))))

#_(tu/pp-code (test-with-blender-nrepl-run))

0 comments on commit 9adea0b

Please sign in to comment.