htlcswitch: fix minor typos in switch test file

This commit is contained in:
Olaoluwa Osuntokun 2017-09-22 15:54:39 -07:00
parent 6f5ef249e4
commit be62188962
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -75,7 +75,7 @@ func TestSwitchForward(t *testing.T) {
case <-bobChannelLink.packets:
break
case <-time.After(time.Second):
t.Fatal("request was not propogated to destination")
t.Fatal("request was not propagated to destination")
}
if s.circuits.pending() != 1 {
@ -157,7 +157,7 @@ func TestSwitchCancel(t *testing.T) {
case <-bobChannelLink.packets:
break
case <-time.After(time.Second):
t.Fatal("request was not propogated to destination")
t.Fatal("request was not propagated to destination")
}
if s.circuits.pending() != 1 {
@ -237,7 +237,7 @@ func TestSwitchAddSamePayment(t *testing.T) {
case <-bobChannelLink.packets:
break
case <-time.After(time.Second):
t.Fatal("request was not propogated to destination")
t.Fatal("request was not propagated to destination")
}
if s.circuits.pending() != 1 {
@ -270,7 +270,7 @@ func TestSwitchAddSamePayment(t *testing.T) {
case <-aliceChannelLink.packets:
break
case <-time.After(time.Second):
t.Fatal("request was not propogated to channelPoint")
t.Fatal("request was not propagated to channelPoint")
}
if s.circuits.pending() != 1 {
@ -286,7 +286,7 @@ func TestSwitchAddSamePayment(t *testing.T) {
case <-aliceChannelLink.packets:
break
case <-time.After(time.Second):
t.Fatal("request was not propogated to channelPoint")
t.Fatal("request was not propagated to channelPoint")
}
if s.circuits.pending() != 0 {
@ -343,7 +343,7 @@ func TestSwitchSendPayment(t *testing.T) {
case err := <-errChan:
t.Fatalf("unable to send payment: %v", err)
case <-time.After(time.Second):
t.Fatal("request was not propogated to destination")
t.Fatal("request was not propagated to destination")
}
select {
@ -352,7 +352,7 @@ func TestSwitchSendPayment(t *testing.T) {
case err := <-errChan:
t.Fatalf("unable to send payment: %v", err)
case <-time.After(time.Second):
t.Fatal("request was not propogated to destination")
t.Fatal("request was not propagated to destination")
}
if s.numPendingPayments() != 2 {