开发者

Specifying *stack-trace-depth* in Clojure tests

What is the correct way to set the 开发者_JAVA技巧value of *stack-trace-depth* in Clojure tests?


Bind it around your call to run-tests or run-all-tests.

For example:

(binding [*stack-trace-depth* 5] (run-all-tests))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜