mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-22 20:40:48 +01:00
Fix misspellings
This commit is contained in:
parent
9f5251621e
commit
abf4647f0d
1 changed files with 4 additions and 4 deletions
|
@ -1405,7 +1405,7 @@ func TestNullDecimal_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.Valid {
|
if !a.Valid {
|
||||||
t.Errorf("%s is null", a.Decimal)
|
t.Errorf("%s is null", a.Decimal)
|
||||||
} else if !a.Decimal.Equals(expected) {
|
} else if !a.Decimal.Equals(expected) {
|
||||||
|
@ -1424,7 +1424,7 @@ func TestNullDecimal_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.Valid {
|
if !a.Valid {
|
||||||
t.Errorf("%s is null", a.Decimal)
|
t.Errorf("%s is null", a.Decimal)
|
||||||
} else if !a.Decimal.Equals(expected) {
|
} else if !a.Decimal.Equals(expected) {
|
||||||
|
@ -1447,7 +1447,7 @@ func TestNullDecimal_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.Valid {
|
if !a.Valid {
|
||||||
t.Errorf("%s is null", a.Decimal)
|
t.Errorf("%s is null", a.Decimal)
|
||||||
} else if !a.Decimal.Equals(expected) {
|
} else if !a.Decimal.Equals(expected) {
|
||||||
|
@ -1466,7 +1466,7 @@ func TestNullDecimal_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.Valid {
|
if !a.Valid {
|
||||||
t.Errorf("%s is null", a.Decimal)
|
t.Errorf("%s is null", a.Decimal)
|
||||||
} else if !a.Decimal.Equals(expected) {
|
} else if !a.Decimal.Equals(expected) {
|
||||||
|
|
Loading…
Reference in a new issue