Merge pull request #27597 from hashicorp/pselle/state-cli-docs
Update state mv help docs to use spaces instead of tabs
This commit is contained in:
commit
5682f55908
|
@ -1317,6 +1317,13 @@ func TestStateMv_onlyResourceInModule(t *testing.T) {
|
|||
testStateOutput(t, backups[0], testStateMvOnlyResourceInModule_original)
|
||||
}
|
||||
|
||||
func TestStateMvHelp(t *testing.T) {
|
||||
c := &StateMvCommand{}
|
||||
if strings.ContainsRune(c.Help(), '\t') {
|
||||
t.Fatal("help text contains tab character, which will result in poor formatting")
|
||||
}
|
||||
}
|
||||
|
||||
const testStateMvOutputOriginal = `
|
||||
test_instance.baz:
|
||||
ID = foo
|
||||
|
|
Loading…
Reference in New Issue