diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-21 14:27:35 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-21 14:27:35 +0200 |
commit | df4cbbd3bdc05aa14a67b3a0a29a0db75b82e640 (patch) | |
tree | 789b18a5d5ad01ccd6936b993714ba227bf39c87 /commands/commands_test.go | |
parent | 2e2e34a9350edec0220462aa3d47ecc9d428a0fb (diff) |
commands: Remove deprecated flags
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r-- | commands/commands_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go index 907f003c0..90b2f2c3d 100644 --- a/commands/commands_test.go +++ b/commands/commands_test.go @@ -72,7 +72,7 @@ func TestCommandsPersistentFlags(t *testing.T) { "--port=1366", "--renderToDisk", "--source=mysource", - "--uglyURLs"}, func(commands []cmder) { + }, func(commands []cmder) { var sc *serverCmd for _, command := range commands { if b, ok := command.(commandsBuilderGetter); ok { @@ -105,7 +105,6 @@ func TestCommandsPersistentFlags(t *testing.T) { assert.Equal([]string{"page", "home"}, cfg.Get("disableKinds")) - assert.True(cfg.GetBool("uglyURLs")) assert.True(cfg.GetBool("gc")) // The flag is named i18n-warnings |