mirror of https://github.com/poanetwork/gecko.git
Merge pull request #20 from StephenButtolph/testing-typo
Fixed testing typo
This commit is contained in:
commit
3576be1dc2
|
@ -256,7 +256,7 @@ func TestSnowballTrinary(t *testing.T) {
|
||||||
tree.RecordPoll(redBag)
|
tree.RecordPoll(redBag)
|
||||||
|
|
||||||
if pref := tree.Preference(); !Blue.Equals(pref) {
|
if pref := tree.Preference(); !Blue.Equals(pref) {
|
||||||
t.Fatalf("Wrong preference. Expected %s got %s", Green, pref)
|
t.Fatalf("Wrong preference. Expected %s got %s", Blue, pref)
|
||||||
} else if tree.Finalized() {
|
} else if tree.Finalized() {
|
||||||
t.Fatalf("Finalized too early")
|
t.Fatalf("Finalized too early")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue