From 4f2b1f4deff73a28288291183baa1e9dff4a93a5 Mon Sep 17 00:00:00 2001 From: Alexey Palazhchenko Date: Sun, 22 Sep 2019 15:22:27 +0300 Subject: [PATCH] Tiny tweaks. --- README.md | 5 +++-- pointer_test.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 648d138..25f2948 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# pointer [![GoDoc](https://godoc.org/github.com/AlekSi/pointer?status.svg)](https://godoc.org/github.com/AlekSi/pointer) [![Build Status](https://travis-ci.org/AlekSi/pointer.svg)](https://travis-ci.org/AlekSi/pointer) +# pointer +[![GoDoc](https://godoc.org/github.com/AlekSi/pointer?status.svg)](https://godoc.org/github.com/AlekSi/pointer) +[![Build Status](https://travis-ci.org/AlekSi/pointer.svg)](https://travis-ci.org/AlekSi/pointer) Go package pointer provides helpers to get pointers to values of built-in types. @@ -8,7 +10,6 @@ go get github.com/AlekSi/pointer API is stable. [Documentation](http://godoc.org/github.com/AlekSi/pointer). - ```go package motivationalexample diff --git a/pointer_test.go b/pointer_test.go index 38350c4..b389214 100644 --- a/pointer_test.go +++ b/pointer_test.go @@ -532,7 +532,7 @@ func TestTime(t *testing.T) { t.Errorf("GetTime(%v)", nil) } - x = time.Date(2019, 9, 22, 7, 34, 0, 0, time.UTC) + x = time.Date(2014, 6, 25, 12, 24, 40, 0, time.UTC) if *ToTime(x) != x { t.Errorf("*ToTime(%v)", x) }