gitlab.com/evatix-go/core@v1.3.55/errcore/GherkinsStringWithExpectation.go (about) 1 package errcore 2 3 import ( 4 "fmt" 5 6 "gitlab.com/evatix-go/core/internal/msgformats" 7 ) 8 9 func GherkinsStringWithExpectation( 10 testCaseIndex int, 11 feature, 12 given, 13 when, 14 then, 15 actual, 16 expectation interface{}, 17 ) string { 18 return fmt.Sprintf( 19 msgformats.SimpleGherkinsWithExpectationFormat, 20 testCaseIndex, 21 feature, 22 testCaseIndex, 23 given, 24 when, 25 then, 26 actual, 27 expectation, 28 ) 29 }