summaryrefslogtreecommitdiffstats
path: root/commands/commands_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-04 13:07:10 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-04 17:10:39 +0100
commit2b6063c3e388056597af88709ff017d15f53c962 (patch)
treea86d4dde3cd5b7df5bb5738a248a0da0c5f640fd /commands/commands_test.go
parent56ab83a59712725e1ce0dd3fd516cc7c190c8478 (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.go10
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) {