Update variable name to match unit name

pull/182/head
Taylor Gerring 10 years ago
parent e22e8b7fef
commit 123282e045
  1. 18
      ethutil/common_test.go

@ -36,9 +36,9 @@ func TestCommon(t *testing.T) {
ether := CurrencyToString(BigPow(10, 19))
finney := CurrencyToString(BigPow(10, 16))
szabo := CurrencyToString(BigPow(10, 13))
vito := CurrencyToString(BigPow(10, 10))
turing := CurrencyToString(BigPow(10, 7))
eins := CurrencyToString(BigPow(10, 4))
shannon := CurrencyToString(BigPow(10, 10))
babbage := CurrencyToString(BigPow(10, 7))
ada := CurrencyToString(BigPow(10, 4))
wei := CurrencyToString(big.NewInt(10))
if ether != "10 Ether" {
@ -53,16 +53,16 @@ func TestCommon(t *testing.T) {
t.Error("Got", szabo)
}
if vito != "10 Shannon" {
t.Error("Got", vito)
if shannon != "10 Shannon" {
t.Error("Got", shannon)
}
if turing != "10 Babbage" {
t.Error("Got", turing)
if babbage != "10 Babbage" {
t.Error("Got", babbage)
}
if eins != "10 Ada" {
t.Error("Got", eins)
if ada != "10 Ada" {
t.Error("Got", ada)
}
if wei != "10 Wei" {

Loading…
Cancel
Save