Skip to content

Commit 5815017

Browse files
committed
tests: prevent panic with require
1 parent f199b74 commit 5815017

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

workspace_integration_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2947,6 +2947,7 @@ func TestWorkspaces_AddTags(t *testing.T) {
29472947
)
29482948

29492949
require.NoError(t, err)
2950+
require.NotEmpty(t, w)
29502951
assert.Equal(t, 5, len(w.TagNames))
29512952
sort.Strings(w.TagNames)
29522953
assert.Equal(t, w.TagNames, []string{"tag1", "tag2", "tag3", "tag4", "tagbyid"})

0 commit comments

Comments
 (0)