Allow decimal number values

Fixes #472
This commit is contained in:
kpdecker
2014-01-17 20:42:02 -06:00
parent 051618c024
commit d4cfe90959
9 changed files with 42 additions and 23 deletions
+2 -2
View File
@@ -150,10 +150,10 @@ describe('ast', function() {
});
});
describe("IntegerNode", function(){
describe("NumberNode", function(){
it('stores location info', function(){
var integer = new handlebarsEnv.AST.IntegerNode("6", LOCATION_INFO);
var integer = new handlebarsEnv.AST.NumberNode("6", LOCATION_INFO);
testLocationInfoStorage(integer);
});
});