mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
3b724462c2
commit
8731d88222
7 changed files with 53 additions and 23 deletions
|
@ -779,7 +779,7 @@ title: "Post 1"
|
|||
{{ .Title }}|{{ .Params.foo }}$
|
||||
`
|
||||
b := Test(t, files)
|
||||
b.AssertLogNotContains(`looks like a path with an extension`)
|
||||
b.AssertLogContains(`! looks like a path with an extension`)
|
||||
}
|
||||
|
||||
func TestCascadConfigExtensionInPath(t *testing.T) {
|
||||
|
@ -813,7 +813,7 @@ foo = 'bar'
|
|||
path = '/p1.md'
|
||||
`
|
||||
b := Test(t, files)
|
||||
b.AssertLogNotContains(`looks like a path with an extension`)
|
||||
b.AssertLogContains(`! looks like a path with an extension`)
|
||||
}
|
||||
|
||||
func TestCascadeIssue12172(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue