Files
v2ray-core/common/compare/string.go
Darien Raymond 5e25741742 update tests
2018-07-13 14:36:09 +02:00

11 lines
189 B
Go

package compare
import "v2ray.com/core/common/errors"
func StringEqualWithDetail(a string, b string) error {
if a != b {
return errors.New("Got ", b, " but want ", a)
}
return nil
}