good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
5f958a58
Commit
5f958a58
authored
Jan 8, 2015
by
Jeffrey Wilcke
Browse files
Options
Downloads
Patches
Plain Diff
fixed other tests to use hashes as well
parent
e27237a0
Branches
Branches containing commit
Tags
v1.3.0
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/chain_manager_test.go
+1
-2
1 addition, 2 deletions
core/chain_manager_test.go
with
1 addition
and
2 deletions
core/chain_manager_test.go
+
1
−
2
View file @
5f958a58
...
@@ -5,7 +5,6 @@ import (
...
@@ -5,7 +5,6 @@ import (
"fmt"
"fmt"
"os"
"os"
"path"
"path"
"reflect"
"runtime"
"runtime"
"strconv"
"strconv"
"testing"
"testing"
...
@@ -125,7 +124,7 @@ func TestChainMultipleInsertions(t *testing.T) {
...
@@ -125,7 +124,7 @@ func TestChainMultipleInsertions(t *testing.T) {
<-
done
<-
done
}
}
if
!
reflect
.
Deep
Equal
(
chains
[
longest
][
len
(
chains
[
longest
])
-
1
],
chainMan
.
CurrentBlock
())
{
if
!
bytes
.
Equal
(
chains
[
longest
][
len
(
chains
[
longest
])
-
1
]
.
Hash
()
,
chainMan
.
CurrentBlock
()
.
Hash
()
)
{
t
.
Error
(
"Invalid canonical chain"
)
t
.
Error
(
"Invalid canonical chain"
)
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment