Fix iterator in a couple of e2e tests

pull/29826/head
Barrett Clark 5 years ago committed by Chris Arcand
parent 0cd9490838
commit d04c01573c

@ -172,7 +172,7 @@ func Test_migrate_single_to_tfc(t *testing.T) {
lenInput := len(tfCmd.userInput)
lenInputOutput := len(tfCmd.postInputOutput)
if lenInput > 0 {
for i := 0; i <= lenInput; i++ {
for i := 0; i < lenInput; i++ {
input := tfCmd.userInput[i]
exp.SendLine(input)
// use the index to find the corresponding

@ -93,7 +93,7 @@ func Test_migrate_tfc_to_other(t *testing.T) {
lenInput := len(tfCmd.userInput)
lenInputOutput := len(tfCmd.postInputOutput)
if lenInput > 0 {
for i := 0; i <= lenInput; i++ {
for i := 0; i < lenInput; i++ {
input := tfCmd.userInput[i]
exp.SendLine(input)
// use the index to find the corresponding

Loading…
Cancel
Save