mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-08-15 12:07:36 +00:00
11 lines
189 B
Go
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
|
||
|
}
|