aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-11-04 23:41:03 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-11-04 23:41:03 +0800
commit123282e0454179c8728394753501e0de93ac9b96 (patch)
treed5cd38206a2b83d83336a29c067a8252f1b0d141
parente22e8b7feffedced7fa1f8809b1828a224ccf774 (diff)
downloadgo-tangerine-123282e0454179c8728394753501e0de93ac9b96.tar.gz
go-tangerine-123282e0454179c8728394753501e0de93ac9b96.tar.zst
go-tangerine-123282e0454179c8728394753501e0de93ac9b96.zip
Update variable name to match unit name
-rw-r--r--ethutil/common_test.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/ethutil/common_test.go b/ethutil/common_test.go
index e6e2d1e8b..819ead7cb 100644
--- a/ethutil/common_test.go
+++ b/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" {