mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
dbbc5c4810
commit
e0cf2e05bb
1 changed files with 4 additions and 0 deletions
|
@ -344,6 +344,10 @@ func TestIntersect(t *testing.T) {
|
|||
{pagesVals{p1v, p4v, p2v, p3v}, pagesVals{p1v, p3v, p3v}, pagesVals{p1v, p3v}},
|
||||
{[]interface{}{p1, p4, p2, p3}, []interface{}{p4, p2, p2}, []interface{}{p4, p2}},
|
||||
{[]interface{}{p1v, p4v, p2v, p3v}, []interface{}{p1v, p3v, p3v}, []interface{}{p1v, p3v}},
|
||||
{pagesPtr{p1, p4, p2, p3}, pagesPtr{}, pagesPtr{}},
|
||||
{pagesVals{}, pagesVals{p1v, p3v, p3v}, pagesVals{}},
|
||||
{[]interface{}{p1, p4, p2, p3}, []interface{}{}, []interface{}{}},
|
||||
{[]interface{}{}, []interface{}{p1v, p3v, p3v}, []interface{}{}},
|
||||
} {
|
||||
|
||||
errMsg := fmt.Sprintf("[%d]", test)
|
||||
|
|
Loading…
Reference in a new issue