diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-04 13:07:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-01-04 17:10:39 +0100 |
commit | 2b6063c3e388056597af88709ff017d15f53c962 (patch) | |
tree | a86d4dde3cd5b7df5bb5738a248a0da0c5f640fd /commands/commands_test.go | |
parent | 56ab83a59712725e1ce0dd3fd516cc7c190c8478 (diff) |
Misc depreation updates
* Deprecate .Page.Path when backed by a file
* site.Permalinks
* --ignoreVendor (use --ignoreVendorPaths)
Closes #9348
Closes #9349
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r-- | commands/commands_test.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go index ef61dc7a5..9966cd937 100644 --- a/commands/commands_test.go +++ b/commands/commands_test.go @@ -164,16 +164,6 @@ func TestFlags(t *testing.T) { }{ { // https://github.com/gohugoio/hugo/issues/7642 - name: "ignoreVendor as bool", - args: []string{"server", "--ignoreVendor"}, - check: func(c *qt.C, cmd *serverCmd) { - cfg := config.New() - cmd.flagsToConfig(cfg) - c.Assert(cfg.Get("ignoreVendor"), qt.Equals, true) - }, - }, - { - // https://github.com/gohugoio/hugo/issues/7642 name: "ignoreVendorPaths", args: []string{"server", "--ignoreVendorPaths=github.com/**"}, check: func(c *qt.C, cmd *serverCmd) { |