mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-26 12:05:35 -05:00
fix test break
This commit is contained in:
@@ -36,9 +36,9 @@ func TestNormalizeEnvName(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestEnvFlag(t *testing.T) {
|
||||
if v := EnvFlag{
|
||||
if v := (EnvFlag{
|
||||
Name: "xxxxx.y",
|
||||
}.GetValueAsInt(10); v != 10 {
|
||||
}.GetValueAsInt(10)); v != 10 {
|
||||
t.Error("env value: ", v)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user