OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix order table test
[bytom/vapor.git]
/
application
/
mov
/
match
/
order_table_test.go
diff --git
a/application/mov/match/order_table_test.go
b/application/mov/match/order_table_test.go
index
fec1340
..
1235e5f
100644
(file)
--- a/
application/mov/match/order_table_test.go
+++ b/
application/mov/match/order_table_test.go
@@
-174,7
+174,7
@@
func TestOrderTable(t *testing.T) {
continue
}
- if
wantOrder != nil && gotOrder != nil &&
gotOrder.Key() != wantOrder.Key() {
+ if gotOrder.Key() != wantOrder.Key() {
t.Errorf("#%d(%s):the key of got order(%v) is not equals key of want order(%v)", i, c.desc, gotOrder, wantOrder)
}
}