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

     1  package errcore
     2  
     3  import "fmt"
     4  
     5  // ExpectingSimple
     6  //
     7  // returns
     8  //      "%s - Expect (type:\"%T\")[\"%v\"] != [\"%v\"](type:\"%T\") Actual"
     9  func ExpectingSimple(title, wasExpecting, actual interface{}) string {
    10  	return fmt.Sprintf(
    11  		expectingSimpleMessageFormat,
    12  		title,
    13  		wasExpecting, wasExpecting,
    14  		actual, actual)
    15  }