Skip to content

Commit 2c22a77

Browse files
author
Aaron Hurt
authored
fix tests after 626
1 parent 3584cbb commit 2c22a77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config/load_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,13 +1049,13 @@ func TestLoad(t *testing.T) {
10491049
desc: "-proxy.addr with cert source and proto 'http' requires proto 'https', 'tcp', or 'grpcs'",
10501050
args: []string{"-proxy.addr", ":5555;cs=name;proto=http", "-proxy.cs", "cs=name;type=path;cert=value"},
10511051
cfg: func(cfg *Config) *Config { return nil },
1052-
err: errors.New("cert source requires proto 'https', 'tcp' or 'grpcs'"),
1052+
err: errors.New("cert source requires proto 'https', 'tcp', 'tcp-dynamic' or 'grpcs'"),
10531053
},
10541054
{
10551055
desc: "-proxy.addr with cert source and proto 'tcp+sni' requires proto 'https', 'tcp' or 'grpcs'",
10561056
args: []string{"-proxy.addr", ":5555;cs=name;proto=tcp+sni", "-proxy.cs", "cs=name;type=path;cert=value"},
10571057
cfg: func(cfg *Config) *Config { return nil },
1058-
err: errors.New("cert source requires proto 'https', 'tcp' or 'grpcs'"),
1058+
err: errors.New("cert source requires proto 'https', 'tcp', 'tcp-dynamic' or 'grpcs'"),
10591059
},
10601060
{
10611061
desc: "-proxy.noroutestatus too small",

0 commit comments

Comments
 (0)