From aec194e2d3a359ceb768a71cc5b41df0ebb28ca7 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Wed, 10 Mar 2021 18:36:54 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Yevgeniy Brikman --- modules/terraform/workspace.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/terraform/workspace.go b/modules/terraform/workspace.go index 3fc301eafd..ef38f1ffa3 100644 --- a/modules/terraform/workspace.go +++ b/modules/terraform/workspace.go @@ -101,8 +101,6 @@ func WorkspaceDelete(t testing.TestingT, options *Options, name string) string { } out, err := WorkspaceDeleteE(t, options, name) - if err != nil { - t.Fatal(err) - } + require.NoError(t, err) return out }