1 | assert = require('assert')
|
2 |
|
3 | #console.dir(require.cache)
|
4 |
|
5 | {exprEqual, exprSame, compiler} = require('./kit/core')
|
6 |
|
7 |
|
8 | describe '`for` statement', ->
|
9 | context 'when all parts have no effect', ->
|
10 | it 'should be unchanged', ->
|
11 | exprEqual(
|
12 | ->
|
13 | for i in [1,2,3]
|
14 | console.log(i)
|
15 | return
|
16 | ->
|
17 | for i in [1,2,3]
|
18 | console.log(i)
|
19 | return)
|
20 |
|