diff --git a/infrastructure/tendermint/parser_test.go b/infrastructure/tendermint/parser_test.go index 0084a4d6..aaa53288 100644 --- a/infrastructure/tendermint/parser_test.go +++ b/infrastructure/tendermint/parser_test.go @@ -17,7 +17,6 @@ var _ = Describe("Parser", func() { _, _, err := ParseBlockResp(blockReader) Expect(err).To(BeNil()) - //Expect(block.) }) }) }) diff --git a/projection/chainstats/chainstats_test.go b/projection/chainstats/chainstats_test.go index acf31fc7..cad4b1a6 100644 --- a/projection/chainstats/chainstats_test.go +++ b/projection/chainstats/chainstats_test.go @@ -34,14 +34,14 @@ var _ = Describe("Chain Stats", func() { Describe("genesis time parsing learning test", func() { It("should parse correctly different variations of time format", func() { Expect( - utctime.MustParse(time.RFC3339, "2021-03-25T01:00:00Z"), + utctime.MustParse(time.RFC3339, "2021-03-25T01:00:00Z").UnixNano(), ).To(Equal(int64(1616634000000000000))) Expect( - utctime.MustParse("2006-01-02T15:04:05.000000Z", "2020-12-23T07:30:28.674523Z"), + utctime.MustParse("2006-01-02T15:04:05.000000Z", "2020-12-23T07:30:28.674523Z").UnixNano(), ).To(Equal(int64(1608708628674523000))) Expect( - utctime.MustParse(time.RFC3339, "2020-12-23T07:30:28.674523Z"), + utctime.MustParse(time.RFC3339, "2020-12-23T07:30:28.674523Z").UnixNano(), ).To(Equal(int64(1608708628674523000))) }) })