(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestBuildWorkspaceLink(t *testing.T) { |
| 65 | t.Parallel() |
| 66 | |
| 67 | serverURL, err := url.Parse(fakeServerURL) |
| 68 | require.NoError(t, err) |
| 69 | |
| 70 | workspace := codersdk.Workspace{Name: fakeWorkspaceName, OwnerName: fakeOwnerName} |
| 71 | workspaceLink := buildWorkspaceLink(serverURL, workspace) |
| 72 | |
| 73 | assert.Equal(t, workspaceLink.String(), fakeServerURL+"/@"+fakeOwnerName+"/"+fakeWorkspaceName) |
| 74 | } |
| 75 | |
| 76 | func TestCloserStack_Mainline(t *testing.T) { |
| 77 | t.Parallel() |
nothing calls this directly
no test coverage detected