Fix some typos, add godoc badge

This commit is contained in:
Victor Quinn 2017-01-28 09:42:33 -05:00
parent d6f52241f3
commit 2ad742c865
No known key found for this signature in database
GPG key ID: DDDC634B991B5BA4
2 changed files with 8 additions and 6 deletions

View file

@ -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. Arbitrary-precision fixed-point decimal numbers in go.

View file

@ -744,7 +744,7 @@ func TestDecimal_ExtremeValues(t *testing.T) {
t.Skip() 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 // 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 // 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 // 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) t.Errorf("a.Scan(54.33) failed with message: %s", err)
} else { } else {
// Scan suceeded... test resulting values // Scan succeeded... test resulting values
if !a.Equals(expected) { if !a.Equals(expected) {
t.Errorf("%s does not equal to %s", a, 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) t.Errorf("a.Scan(0) failed with message: %s", err)
} else { } else {
// Scan suceeded... test resulting values // Scan succeeded... test resulting values
if !a.Equals(expected) { if !a.Equals(expected) {
t.Errorf("%s does not equal to %s", a, 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) t.Errorf("a.Scan('535.666') failed with message: %s", err)
} else { } else {
// Scan suceeded... test resulting values // Scan succeeded... test resulting values
if !a.Equals(expected) { if !a.Equals(expected) {
t.Errorf("%s does not equal to %s", a, 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 // Scan failed... no need to test result value
t.Errorf("a.Scan('535.666') failed with message: %s", err) t.Errorf("a.Scan('535.666') failed with message: %s", err)
} else { } else {
// Scan suceeded... test resulting values // Scan succeeded... test resulting values
if !a.Equals(expected) { if !a.Equals(expected) {
t.Errorf("%s does not equal to %s", a, expected) t.Errorf("%s does not equal to %s", a, expected)
} }