add block test

This commit is contained in:
Arpad Ryszka 2017-07-29 20:12:21 +02:00
parent 0b1a191856
commit cd9ecab3d1

View File

@ -1976,6 +1976,19 @@ func TestMML(t *testing.T) {
}},
}},
ignorePosition: true,
}, {
msg: "block",
ignorePosition: true,
text: "{ f() }",
nodes: []*Node{{
Name: "block",
Nodes: []*Node{{
Name: "function-application",
Nodes: []*Node{{
Name: "symbol",
}},
}},
}},
}, {
msg: "go",
text: "go f()",