mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
tpl: Add two more doArithmetic test cases
This commit is contained in:
parent
f90b45f7f3
commit
2b0fad79b7
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ func TestArethmic(t *testing.T) {
|
|||
{float64(1), uint(2), '+', float64(3)},
|
||||
{float64(1), "do", '+', false},
|
||||
{uint(1), int(2), '+', uint64(3)},
|
||||
{uint(1), int(-2), '+', int64(-1)},
|
||||
{int(-1), uint(2), '+', int64(1)},
|
||||
{uint(1), float64(2), '+', float64(3)},
|
||||
{uint(1), "do", '+', false},
|
||||
{"do ", "be", '+', "do be"},
|
||||
|
|
Loading…
Reference in a new issue