gitlab.com/evatix-go/core@v1.3.55/errcore/GetSearchTermExpectationSimpleMessage.go (about)

     1  package errcore
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"gitlab.com/evatix-go/core/internal/msgformats"
     7  )
     8  
     9  func GetSearchTermExpectationSimpleMessage(
    10  	counter int,
    11  	expectationErrorMessage string,
    12  	processingIndex int,
    13  	contentProcessed interface{},
    14  	searchTermProcessed interface{},
    15  ) string {
    16  	return fmt.Sprintf(
    17  		msgformats.PrintHeaderForSearchActualAndExpectedProcessedSimpleFormat,
    18  		counter,
    19  		expectationErrorMessage,
    20  		processingIndex,
    21  		contentProcessed,
    22  		searchTermProcessed,
    23  	)
    24  }