hugolib: Add additional test to TestTemplateLookupOrder
authorCameron Moore <moorereason@gmail.com>
Mon, 5 Feb 2018 04:09:14 +0000 (22:09 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 5 Feb 2018 07:38:04 +0000 (08:38 +0100)
commitfc06d5c18bb1e47f90f0297aa8121ee0775e047d
treee256be675cc4a53a3b9f05efe9f0cafe50600bea
parent9a367d9d06db6f6cf22121d0397c464ae36e7089
hugolib: Add additional test to TestTemplateLookupOrder

Add an additional test to "Variant 4, theme, use site base" to also test
for the index.html base (from by testing of #3505).  Also add a "name"
field to the test cases to make it easier to know which test is failing
versus just getting a slice index.
hugolib/template_test.go