parinfer / parinfer.js

Let's simplify the way we write Lisp
https://shaunlebron.github.io/parinfer
MIT License
1.75k stars 40 forks source link

Add tests for forceBalance option #140

Open shaunlebron opened 7 years ago

shaunlebron commented 7 years ago

Each test case has inand out blocks, but I think we need a out-forceBalance block to make sure forceBalance behavior doesn't regress.

Also, I'm not sure why this is currently reproducing bad output (missing close-parens) in 3.0.0:

(def} [1 2 3
++++++
 4 5 6
(def [1 2 3
       4 5 6
shaunlebron commented 7 years ago

I also need to add extra tests for partialResult.

I think I'll hide new out-<option> blocks in <!-- --> comments.

oakmac commented 7 years ago

I think I'll hide new out-

Pushing the limits of the custom annotation syntax.