Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d03a39

Browse files
committed
fix: workspaces: relax error assertion
1 parent cfe34af commit 0d03a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/workspaces_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func TestWorkspaceUpdateAutostart(t *testing.T) {
495495
})
496496

497497
if testCase.expectedError != "" {
498-
require.EqualError(t, err, testCase.expectedError, "unexpected error when setting workspace autostart schedule")
498+
require.ErrorContains(t, err, testCase.expectedError, "unexpected error when setting workspace autostart schedule")
499499
return
500500
}
501501

0 commit comments

Comments
 (0)