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

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