Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
dbe6fb3e
Commit
dbe6fb3e
authored
May 19, 2019
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the String helpers instead of directly taking the address
parent
92690cdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
projects_test.go
projects_test.go
+3
-3
No files found.
projects_test.go
View file @
dbe6fb3e
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment