Skip to content

Commit c8813cc

Browse files
committed
Fix unit test
1 parent 2aac32b commit c8813cc

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
@@ -448,7 +448,7 @@ func TestWorkspaceFilter(t *testing.T) {
448448
Name: "a",
449449
},
450450
FilterF: func(f codersdk.WorkspaceFilter, workspace madeWorkspace) bool {
451-
return workspace.Template.Name == f.Template && strings.Contains(workspace.Workspace.Name, f.Name)
451+
return strings.Contains(workspace.Workspace.Name, f.Name)
452452
},
453453
},
454454
{

0 commit comments

Comments
 (0)