mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-22 20:40:48 +01:00
Fix some typos, add godoc badge
This commit is contained in:
parent
d6f52241f3
commit
2ad742c865
2 changed files with 8 additions and 6 deletions
|
@ -1,4 +1,6 @@
|
|||
# decimal [![Build Status](https://travis-ci.org/shopspring/decimal.png?branch=master)](https://travis-ci.org/shopspring/decimal) [![BADGINATOR](https://badginator.herokuapp.com/shopspring/decimal.svg?image_analysis=1)](https://github.com/defunctzombie/badginator)
|
||||
# decimal
|
||||
|
||||
[![Build Status](https://travis-ci.org/shopspring/decimal.png?branch=master)](https://travis-ci.org/shopspring/decimal) [![GoDoc](https://godoc.org/github.com/shopspring/decimal?status.svg)](https://godoc.org/github.com/shopspring/decimal) [![Go Report Card](https://goreportcard.com/badge/github.com/shopspring/decimal)](https://goreportcard.com/report/github.com/shopspring/decimal)
|
||||
|
||||
Arbitrary-precision fixed-point decimal numbers in 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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue