mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Fix print within begin{}/end{} (#1795)
* codemod per se * unit-test coverage * lint
This commit is contained in:
parent
100166532c
commit
34bc8a1c3d
4 changed files with 5 additions and 1 deletions
1
test/cases/dsl-begin-end/0010/cmd
Normal file
1
test/cases/dsl-begin-end/0010/cmd
Normal file
|
|
@ -0,0 +1 @@
|
|||
mlr --from test/input/s.dkvp put -q 'begin{print 8}; end{print 9}'
|
||||
0
test/cases/dsl-begin-end/0010/experr
Normal file
0
test/cases/dsl-begin-end/0010/experr
Normal file
2
test/cases/dsl-begin-end/0010/expout
Normal file
2
test/cases/dsl-begin-end/0010/expout
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
8
|
||||
9
|
||||
Loading…
Add table
Add a link
Reference in a new issue