add block test
This commit is contained in:
parent
0b1a191856
commit
cd9ecab3d1
13
mml_test.go
13
mml_test.go
@ -1976,6 +1976,19 @@ func TestMML(t *testing.T) {
|
|||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
ignorePosition: true,
|
ignorePosition: true,
|
||||||
|
}, {
|
||||||
|
msg: "block",
|
||||||
|
ignorePosition: true,
|
||||||
|
text: "{ f() }",
|
||||||
|
nodes: []*Node{{
|
||||||
|
Name: "block",
|
||||||
|
Nodes: []*Node{{
|
||||||
|
Name: "function-application",
|
||||||
|
Nodes: []*Node{{
|
||||||
|
Name: "symbol",
|
||||||
|
}},
|
||||||
|
}},
|
||||||
|
}},
|
||||||
}, {
|
}, {
|
||||||
msg: "go",
|
msg: "go",
|
||||||
text: "go f()",
|
text: "go f()",
|
||||||
|
Loading…
Reference in New Issue
Block a user