Closed neil-lindquist closed 5 years ago
Thank you!
What's the problem with the tests? npm install + npm test should be all there is to it... do you get an error?
I don't think I got the test dependancies installed correctly, and when I was poking around the code, it looked like the test scripts are for sh. I gave up there since I develop on Windows. Admittedly, I don't really know much about using Node, just what I've needed to work on Atom-Slime/SLIMA. If another issue comes up, I'll see if I can run the tests on travis.
OK, usually you can just fix things via rm -rf node_modules
followed by npm install
. Then npm test
should do what it's supposed to.
readNumber previously didn't support numbers with decimals in them or negatives. For example
"(0.2)"
was being read as[0, .2]
. I expanded the test cases, but still couldn't get the tests running on my machine.