This website works better with JavaScript.
Home
Help
Sign In
Fuyu
/
assert
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
7
Wiki
Activity
Browse Source
Remove Cleanup from T interface
pull/2/head
v0.1.1
Nise Void
8 months ago
parent
58bacd98ce
commit
0ead6dfb99
Signed by:
NiseVoid
GPG Key ID:
FBA14AC83EA602F3
2 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
faket_test.go
+0
-1
type.go
+ 1
- 2
faket_test.go
View File
@ -13,8 +13,7 @@ func (t *fakeT) Error(_ ...interface{}) {
t
.
gotError
=
true
}
func
(
_
*
fakeT
)
Helper
(
)
{
}
func
(
_
*
fakeT
)
Cleanup
(
_
func
(
)
)
{
}
func
(
_
*
fakeT
)
Helper
(
)
{
}
func
(
t
*
fakeT
)
GotError
(
)
bool
{
r
:=
t
.
gotError
+ 0
- 1
type.go
View File
@ -4,5 +4,4 @@ package assert
type
T
interface
{
Error
(
...
interface
{
}
)
Helper
(
)
Cleanup
(
func
(
)
)
}
Write
Preview
Loading…
Cancel
Save