From 2ad742c86518defd44f722bb7c285a82af2d6307 Mon Sep 17 00:00:00 2001 From: Victor Quinn Date: Sat, 28 Jan 2017 09:42:33 -0500 Subject: [PATCH] Fix some typos, add godoc badge --- README.md | 4 +++- decimal_test.go | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7aaadae..be9cb5e 100644 --- a/README.md +++ b/README.md @@ -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. 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) }