Marko v3: Added another test case for BinaryExpression

This commit is contained in:
Patrick Steele-Idem 2016-02-06 18:20:58 -07:00
parent cb4cbce66e
commit bea815cf77
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
foo / 2

View File

@ -0,0 +1,8 @@
'use strict';
module.exports = function(builder) {
return builder.binaryExpression(
builder.identifier('foo'),
'/',
builder.literal(2));
};