package format // import "gotest.tools/v3/internal/format"

import 

// Message accepts a msgAndArgs varargs and formats it using fmt.Sprintf
func ( ...interface{}) string {
	switch len() {
	case 0:
		return ""
	case 1:
		return fmt.Sprintf("%v", [0])
	default:
		return fmt.Sprintf([0].(string), [1:]...)
	}
}

// WithCustomMessage accepts one or two messages and formats them appropriately
func ( string,  ...interface{}) string {
	 := Message(...)
	switch {
	case  == "":
		return 
	case  == "":
		return 
	}
	return fmt.Sprintf("%s: %s", , )
}