mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
fix: Allow spaces in searches (#2723)
This commit is contained in:
@ -31,6 +31,14 @@ func TestSearchWorkspace(t *testing.T) {
|
||||
Name: "bar",
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "Owner/NameWithSpaces",
|
||||
Query: " Foo/Bar ",
|
||||
Expected: database.GetWorkspacesParams{
|
||||
OwnerUsername: "foo",
|
||||
Name: "bar",
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "Name",
|
||||
Query: "workspace-name",
|
||||
|
Reference in New Issue
Block a user