Fix iterator in a couple of e2e tests

This commit is contained in:
Barrett Clark 2021-10-18 11:11:56 -05:00 committed by Chris Arcand
parent 0cd9490838
commit d04c01573c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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