mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Marko v3: Added another test case for BinaryExpression
This commit is contained in:
parent
cb4cbce66e
commit
bea815cf77
1
test/fixtures/codegen/autotest/binaryExpression/expected.js
vendored
Normal file
1
test/fixtures/codegen/autotest/binaryExpression/expected.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
foo / 2
|
||||
8
test/fixtures/codegen/autotest/binaryExpression/index.js
vendored
Normal file
8
test/fixtures/codegen/autotest/binaryExpression/index.js
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function(builder) {
|
||||
return builder.binaryExpression(
|
||||
builder.identifier('foo'),
|
||||
'/',
|
||||
builder.literal(2));
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user