Commits

masklinn committed 7239793

Add floats-eval test with just leading comma just in case

  • Participants
  • Parent commits b7ca9a9
  • Tags 0.3

Comments (0)

Files changed (1)

File test/test.js

             expect(py.eval('-9999')).to.be(-9999);
         });
         it('should correctly handle float literals', function () {
+            expect(py.eval('.42')).to.be(0.42);
             expect(py.eval('1.2')).to.be(1.2);
         });
     });