X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b53513423ab948804425424278ac554870864997..ae92d144610446849eb568247a44f02ae985c281:/lib/config/load_test.go diff --git a/lib/config/load_test.go b/lib/config/load_test.go index 5270dcccce..2d87b906c9 100644 --- a/lib/config/load_test.go +++ b/lib/config/load_test.go @@ -338,11 +338,7 @@ func (s *LoadSuite) TestUnacceptableTokens(c *check.C) { } { c.Logf("trying bogus config: %s", trial.example) _, err := testLoader(c, "Clusters:\n zzzzz:\n "+trial.example, nil).Load() - if trial.short { - c.Check(err, check.ErrorMatches, `Clusters.zzzzz.`+trial.configPath+`: unacceptable characters in token.*`) - } else { - c.Check(err, check.ErrorMatches, `Clusters.zzzzz.`+trial.configPath+`: unacceptable characters in token.*`) - } + c.Check(err, check.ErrorMatches, `Clusters.zzzzz.`+trial.configPath+`: unacceptable characters in token.*`) } }