From db87bd05070aacd65556f72d0a33d460d6182854 Mon Sep 17 00:00:00 2001 From: Erin Call Date: Mon, 23 Dec 2019 15:52:01 -0800 Subject: [PATCH] Require no-error in config tests [#9] --- internal/helm/config_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/helm/config_test.go b/internal/helm/config_test.go index 7427e1a..ceff436 100644 --- a/internal/helm/config_test.go +++ b/internal/helm/config_test.go @@ -27,7 +27,7 @@ func (suite *ConfigTestSuite) TestPopulateWithPluginPrefix() { suite.setenv("PLUGIN_DEBUG", "true") cfg := Config{} - cfg.Populate() + suite.Require().NoError(cfg.Populate()) suite.Equal("execute order 66", cfg.Command) suite.True(cfg.UpdateDependencies) @@ -44,7 +44,7 @@ func (suite *ConfigTestSuite) TestPopulateWithNoPrefix() { suite.setenv("DEBUG", "true") cfg := Config{} - cfg.Populate() + suite.Require().NoError(cfg.Populate()) suite.Equal("execute order 66", cfg.Command) suite.True(cfg.UpdateDependencies) @@ -56,7 +56,7 @@ func (suite *ConfigTestSuite) TestPopulateWithConflictingVariables() { suite.setenv("HELM_COMMAND", "defend the jedi") cfg := Config{} - cfg.Populate() + suite.Require().NoError(cfg.Populate()) suite.Equal("defend the jedi", cfg.Command) }