Fix: double curly braces causes syntax error on Liquid template system (#2340)

This commit is contained in:
Ev 2019-10-31 16:21:19 -04:00 committed by Alex Beregszaszi
parent 968969af75
commit 14f9b24433
1 changed files with 3 additions and 1 deletions

View File

@ -211,7 +211,9 @@ tests := []struct {
{ {
// Single signer, no votes cast // Single signer, no votes cast
signers: []string{"A"}, signers: []string{"A"},
blocks: []block{{signer: "A"}}, blocks: []block{
{signer: "A"}
},
results: []string{"A"}, results: []string{"A"},
}, { }, {
// Single signer, voting to add two others (only accept first, second needs 2 votes) // Single signer, voting to add two others (only accept first, second needs 2 votes)