diff options
author | Victor Quinn <mail@victorquinn.com> | 2017-01-28 22:42:33 +0800 |
---|---|---|
committer | Victor Quinn <mail@victorquinn.com> | 2017-01-28 22:42:33 +0800 |
commit | 2ad742c86518defd44f722bb7c285a82af2d6307 (patch) | |
tree | df17fb8f560290a1ace6c97335a8c2d50503a648 | |
parent | d6f52241f332c63811249bd79a522406bea1a7c9 (diff) | |
download | dexon-decimal-2ad742c86518defd44f722bb7c285a82af2d6307.tar.gz dexon-decimal-2ad742c86518defd44f722bb7c285a82af2d6307.tar.zst dexon-decimal-2ad742c86518defd44f722bb7c285a82af2d6307.zip |
Fix some typos, add godoc badge
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | decimal_test.go | 10 |
2 files changed, 8 insertions, 6 deletions
@@ -1,4 +1,6 @@ -# decimal [](https://travis-ci.org/shopspring/decimal) [](https://github.com/defunctzombie/badginator) +# decimal + +[](https://travis-ci.org/shopspring/decimal) [](https://godoc.org/github.com/shopspring/decimal) [](https://goreportcard.com/report/github.com/shopspring/decimal) Arbitrary-precision fixed-point decimal numbers in go. diff --git a/decimal_test.go b/decimal_test.go index b0b2088..82687c0 100644 --- a/decimal_test.go +++ b/decimal_test.go @@ -744,7 +744,7 @@ func TestDecimal_ExtremeValues(t *testing.T) { t.Skip() } - // NOTE(vadim): Seriously, the numbers invovled are so large that this + // NOTE(vadim): Seriously, the numbers involved are so large that this // test will take way too long, so mark it as success if it takes over // 1 second. The way this test typically fails (integer overflow) is that // a wrong result appears quickly, so if it takes a long time then it is @@ -878,7 +878,7 @@ func TestDecimal_Scan(t *testing.T) { t.Errorf("a.Scan(54.33) failed with message: %s", err) } else { - // Scan suceeded... test resulting values + // Scan succeeded... test resulting values if !a.Equals(expected) { t.Errorf("%s does not equal to %s", a, expected) } @@ -895,7 +895,7 @@ func TestDecimal_Scan(t *testing.T) { t.Errorf("a.Scan(0) failed with message: %s", err) } else { - // Scan suceeded... test resulting values + // Scan succeeded... test resulting values if !a.Equals(expected) { t.Errorf("%s does not equal to %s", a, expected) } @@ -916,7 +916,7 @@ func TestDecimal_Scan(t *testing.T) { t.Errorf("a.Scan('535.666') failed with message: %s", err) } else { - // Scan suceeded... test resulting values + // Scan succeeded... test resulting values if !a.Equals(expected) { t.Errorf("%s does not equal to %s", a, expected) } @@ -933,7 +933,7 @@ func TestDecimal_Scan(t *testing.T) { // Scan failed... no need to test result value t.Errorf("a.Scan('535.666') failed with message: %s", err) } else { - // Scan suceeded... test resulting values + // Scan succeeded... test resulting values if !a.Equals(expected) { t.Errorf("%s does not equal to %s", a, expected) } |