about summary refs log tree commit diff stats
path: root/registry/fetch_test.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-06-21 01:24:23 -0400
committerBen Morrison <ben@gbmor.dev>2020-06-21 01:24:23 -0400
commit24e86fbcc7d8c4332290428959228d1df23f8872 (patch)
treefe72eeea29e2a107d0acaa35766e064ef347aa85 /registry/fetch_test.go
parent3278fe2b75b6335a06805a589ddae424dcdc0e89 (diff)
downloadgetwtxt-24e86fbcc7d8c4332290428959228d1df23f8872.tar.gz
conditionally parsing datestamp as either rfc3339Nano or rfc3339 v0.4.14
Diffstat (limited to 'registry/fetch_test.go')
-rw-r--r--registry/fetch_test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/registry/fetch_test.go b/registry/fetch_test.go
index 4eab2a4..0bf7920 100644
--- a/registry/fetch_test.go
+++ b/registry/fetch_test.go
@@ -273,14 +273,3 @@ var timestampCases = []struct {
 		expected: "2020-01-14T00:19:45.092344Z",
 	},
 }
-
-func Test_fixTimestamp(t *testing.T) {
-	for _, tt := range timestampCases {
-		t.Run(tt.name, func(t *testing.T) {
-			tsout := fixTimestamp(tt.orig)
-			if tsout != tt.expected {
-				t.Errorf("Failed :: %s :: got %s expected %s", tt.name, tsout, tt.expected)
-			}
-		})
-	}
-}