gitlab.com/evatix-go/core@v1.3.55/errcore/GetSearchLineNumberExpectationMessage.go (about) 1 package errcore 2 3 import ( 4 "fmt" 5 6 "gitlab.com/evatix-go/core/internal/msgformats" 7 ) 8 9 func GetSearchLineNumberExpectationMessage( 10 counter int, 11 lineNumberExpect int, 12 lineNumberActualContent int, 13 content interface{}, 14 searchTerm interface{}, 15 additionalInfo interface{}, 16 ) string { 17 return fmt.Sprintf( 18 msgformats.PrintSearchLineNumberDidntMatchFormat, 19 counter, 20 lineNumberExpect, 21 lineNumberActualContent, 22 content, 23 searchTerm, 24 lineNumberExpect, 25 lineNumberActualContent, 26 additionalInfo, 27 ) 28 }