Asserting `fd' exists inside the with
This commit is contained in:
parent
4db9446197
commit
83d91c3f81
@ -293,7 +293,7 @@
|
|||||||
|
|
||||||
(defn test-context []
|
(defn test-context []
|
||||||
"NATIVE: test with"
|
"NATIVE: test with"
|
||||||
(with [fd (open "README.md" "r")] (pass))
|
(with [fd (open "README.md" "r")] (assert fd))
|
||||||
(with [(open "README.md" "r")] (pass)))
|
(with [(open "README.md" "r")] (pass)))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user