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
84e817e1
Commit
84e817e1
authored
Dec 03, 2019
by
linj
Committed by
vipwzw
Dec 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ticket TestMain
parent
43ba1aca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ticket_test.go
plugin/dapp/ticket/executor/ticket_test.go
+3
-1
No files found.
plugin/dapp/ticket/executor/ticket_test.go
View file @
84e817e1
...
@@ -3,6 +3,7 @@ package executor_test
...
@@ -3,6 +3,7 @@ package executor_test
import
(
import
(
"encoding/hex"
"encoding/hex"
"fmt"
"fmt"
"os"
"strings"
"strings"
"testing"
"testing"
...
@@ -26,8 +27,9 @@ var mock33 *testnode.Chain33Mock
...
@@ -26,8 +27,9 @@ var mock33 *testnode.Chain33Mock
func
TestMain
(
m
*
testing
.
M
)
{
func
TestMain
(
m
*
testing
.
M
)
{
mock33
=
testnode
.
New
(
"testdata/chain33.cfg.toml"
,
nil
)
mock33
=
testnode
.
New
(
"testdata/chain33.cfg.toml"
,
nil
)
mock33
.
Listen
()
mock33
.
Listen
()
m
.
Run
()
code
:=
m
.
Run
()
mock33
.
Close
()
mock33
.
Close
()
os
.
Exit
(
code
)
}
}
func
TestTicketPrice
(
t
*
testing
.
T
)
{
func
TestTicketPrice
(
t
*
testing
.
T
)
{
...
...
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