Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
05afd962
Commit
05afd962
authored
Jan 21, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add False method
parent
c4f9a92e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
thirdparty/assert/assert.go
thirdparty/assert/assert.go
+4
-0
No files found.
thirdparty/assert/assert.go
View file @
05afd962
...
...
@@ -14,6 +14,10 @@ func True(v bool, t *testing.T, msgs ...string) {
}
}
func
False
(
v
bool
,
t
*
testing
.
T
,
msgs
...
string
)
{
True
(
!
v
,
t
,
msgs
...
)
}
func
Err
(
err
error
,
t
*
testing
.
T
,
msgs
...
string
)
{
if
err
==
nil
{
t
.
Fatal
(
msgs
,
"error:"
,
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