Commit dbe6fb3e authored by Sander van Harmelen's avatar Sander van Harmelen

Use the String helpers instead of directly taking the address

parent 92690cdf
...@@ -538,9 +538,9 @@ func TestForkProject(t *testing.T) { ...@@ -538,9 +538,9 @@ func TestForkProject(t *testing.T) {
}) })
project, _, err := client.Projects.ForkProject(1, &ForkProjectOptions{ project, _, err := client.Projects.ForkProject(1, &ForkProjectOptions{
Namespace: &namespace, Namespace: String(namespace),
Name: &name, Name: String(name),
Path: &path, Path: String(path),
}) })
if err != nil { if err != nil {
t.Errorf("Projects.ForkProject returned error: %v", err) t.Errorf("Projects.ForkProject returned error: %v", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment