mirror of https://github.com/jackc/pgx.git
Fix some previously broken comment links
parent
72cc95e4dd
commit
85b08ac663
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
// https://github.com/jackc/pgx/v4/pgtype/issues/78
|
// https://github.com/jackc/pgtype/issues/78
|
||||||
func TestTextArrayDecodeTextNull(t *testing.T) {
|
func TestTextArrayDecodeTextNull(t *testing.T) {
|
||||||
textArray := &pgtype.TextArray{}
|
textArray := &pgtype.TextArray{}
|
||||||
err := textArray.DecodeText(nil, []byte(`{abc,"NULL",NULL,def}`))
|
err := textArray.DecodeText(nil, []byte(`{abc,"NULL",NULL,def}`))
|
||||||
|
|
|
@ -99,7 +99,7 @@ func TestTimestampNanosecondsTruncated(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/jackc/pgx/v4/pgtype/issues/74
|
// https://github.com/jackc/pgtype/issues/74
|
||||||
func TestTimestampDecodeTextInvalid(t *testing.T) {
|
func TestTimestampDecodeTextInvalid(t *testing.T) {
|
||||||
tstz := &pgtype.Timestamp{}
|
tstz := &pgtype.Timestamp{}
|
||||||
err := tstz.DecodeText(nil, []byte(`eeeee`))
|
err := tstz.DecodeText(nil, []byte(`eeeee`))
|
||||||
|
|
|
@ -99,7 +99,7 @@ func TestTimestamptzNanosecondsTruncated(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/jackc/pgx/v4/pgtype/issues/74
|
// https://github.com/jackc/pgtype/issues/74
|
||||||
func TestTimestamptzDecodeTextInvalid(t *testing.T) {
|
func TestTimestamptzDecodeTextInvalid(t *testing.T) {
|
||||||
tstz := &pgtype.Timestamptz{}
|
tstz := &pgtype.Timestamptz{}
|
||||||
err := tstz.DecodeText(nil, []byte(`eeeee`))
|
err := tstz.DecodeText(nil, []byte(`eeeee`))
|
||||||
|
|
|
@ -41,7 +41,7 @@ func TestTstzrangeTranscode(t *testing.T) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/jackc/pgx/v4/pgtype/issues/74
|
// https://github.com/jackc/pgtype/issues/74
|
||||||
func TestTstzRangeDecodeTextInvalid(t *testing.T) {
|
func TestTstzRangeDecodeTextInvalid(t *testing.T) {
|
||||||
tstzrange := &pgtype.Tstzrange{}
|
tstzrange := &pgtype.Tstzrange{}
|
||||||
err := tstzrange.DecodeText(nil, []byte(`[eeee,)`))
|
err := tstzrange.DecodeText(nil, []byte(`[eeee,)`))
|
||||||
|
|
Loading…
Reference in New Issue