Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
781d2717
Commit
781d2717
authored
Dec 03, 2018
by
wjx@disanbo.com
Committed by
vipwzw
Dec 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linter
parent
a688b16b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lottery_test.go
plugin/dapp/lottery/executor/lottery_test.go
+3
-3
No files found.
plugin/dapp/lottery/executor/lottery_test.go
View file @
781d2717
...
@@ -46,7 +46,7 @@ func init() {
...
@@ -46,7 +46,7 @@ func init() {
func
TestExecCreateLottery
(
t
*
testing
.
T
)
{
func
TestExecCreateLottery
(
t
*
testing
.
T
)
{
var
targetReceipt
types
.
Receipt
var
targetReceipt
types
.
Receipt
var
targetErr
error
=
rt
.
ErrNoPrivilege
var
targetErr
=
rt
.
ErrNoPrivilege
var
receipt
*
types
.
Receipt
var
receipt
*
types
.
Receipt
var
err
error
var
err
error
targetReceipt
.
Ty
=
2
targetReceipt
.
Ty
=
2
...
@@ -85,7 +85,7 @@ func TestExecCreateLottery(t *testing.T) {
...
@@ -85,7 +85,7 @@ func TestExecCreateLottery(t *testing.T) {
func
TestExecBuyLottery
(
t
*
testing
.
T
)
{
func
TestExecBuyLottery
(
t
*
testing
.
T
)
{
var
targetReceipt
types
.
Receipt
var
targetReceipt
types
.
Receipt
var
targetErr
error
=
types
.
ErrNoBalance
var
targetErr
=
types
.
ErrNoBalance
var
receipt
*
types
.
Receipt
var
receipt
*
types
.
Receipt
var
err
error
var
err
error
targetReceipt
.
Ty
=
2
targetReceipt
.
Ty
=
2
...
@@ -111,7 +111,7 @@ func TestExecBuyLottery(t *testing.T) {
...
@@ -111,7 +111,7 @@ func TestExecBuyLottery(t *testing.T) {
func
TestExecDrawLottery
(
t
*
testing
.
T
)
{
func
TestExecDrawLottery
(
t
*
testing
.
T
)
{
var
targetReceipt
types
.
Receipt
var
targetReceipt
types
.
Receipt
var
targetErr
error
=
rt
.
ErrLotteryStatus
var
targetErr
=
rt
.
ErrLotteryStatus
var
receipt
*
types
.
Receipt
var
receipt
*
types
.
Receipt
var
err
error
var
err
error
targetReceipt
.
Ty
=
2
targetReceipt
.
Ty
=
2
...
...
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