mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
1fd845eee4
commit
3b6eaf9b1f
7 changed files with 57 additions and 2 deletions
|
@ -76,6 +76,13 @@ func TestOptWarn() TestOpt {
|
|||
}
|
||||
}
|
||||
|
||||
// TestOptOsFs will enable the real file system in integration tests.
|
||||
func TestOptOsFs() TestOpt {
|
||||
return func(c *IntegrationTestConfig) {
|
||||
c.NeedsOsFS = true
|
||||
}
|
||||
}
|
||||
|
||||
// TestOptWithNFDOnDarwin will normalize the Unicode filenames to NFD on Darwin.
|
||||
func TestOptWithNFDOnDarwin() TestOpt {
|
||||
return func(c *IntegrationTestConfig) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue