Compare commits
No commits in common. "97326339f8e299904cf5c09124dd5ad39bd347fd" and "55e928d3cfe7f204fb5c19abfb0a53ca3b0ec00e" have entirely different histories.
97326339f8
...
55e928d3cf
|
@ -10,10 +10,6 @@ const (
|
||||||
ErrUnexpectedEndOfFile = erorr.Error("rfc8259: unexpected end-of-file")
|
ErrUnexpectedEndOfFile = erorr.Error("rfc8259: unexpected end-of-file")
|
||||||
)
|
)
|
||||||
|
|
||||||
func ErrInternalError(msg string) error {
|
|
||||||
return erorr.Errorf("rfc8259: JSON parser had an unexpected internal-error — %s", msg)
|
|
||||||
}
|
|
||||||
|
|
||||||
func ErrProblemReadingRune(err error) error {
|
func ErrProblemReadingRune(err error) error {
|
||||||
return erorr.Errorf("rfc8259: JSON parser had a problem — problem reading rune: %w", err)
|
return erorr.Errorf("rfc8259: JSON parser had a problem — problem reading rune: %w", err)
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,10 +21,6 @@ func TestParse_success(t *testing.T) {
|
||||||
Value: []byte("0"),
|
Value: []byte("0"),
|
||||||
Expected: rfc8259naturalnumber.Zero(),
|
Expected: rfc8259naturalnumber.Zero(),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Value: []byte("-0"),
|
|
||||||
Expected: rfc8259naturalnumber.Something("-0"),
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue