From 4fdb7fd0a4df87df2af0c49251b01885cdabb8f2 Mon Sep 17 00:00:00 2001 From: Nhat Date: Sun, 21 Aug 2022 11:44:17 +0200 Subject: [PATCH] Bump deps (#13) --- README.md | 6 +++--- features/bootstrap/godog_test.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- godog.go | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 19c15ca..8066a40 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ [![GitHub Releases](https://img.shields.io/github/v/release/godogx/clocksteps)](https://github.com/godogx/clocksteps/releases/latest) [![Build Status](https://github.com/godogx/clocksteps/actions/workflows/test.yaml/badge.svg)](https://github.com/godogx/clocksteps/actions/workflows/test.yaml) [![codecov](https://codecov.io/gh/godogx/clocksteps/branch/master/graph/badge.svg?token=eTdAgDE2vR)](https://codecov.io/gh/godogx/clocksteps) -[![Go Report Card](https://goreportcard.com/badge/github.com/nhatthm/httpmock)](https://goreportcard.com/report/github.com/nhatthm/httpmock) +[![Go Report Card](https://goreportcard.com/badge/github.com/godogx/clocksteps)](https://goreportcard.com/report/github.com/godogx/clocksteps) [![GoDevDoc](https://img.shields.io/badge/dev-doc-00ADD8?logo=go)](https://pkg.go.dev/github.com/godogx/clocksteps) -`clocksteps` uses [`nhatthm/go-clock`](https://go.nhat.io/clock) to provide steps for `cucumber/godog` and +`clocksteps` uses [`go.nhat.io/clock`](https://go.nhat.io/clock) to provide steps for `cucumber/godog` and makes it easy to run tests with `time`. ## Prerequisites @@ -47,7 +47,7 @@ func TestIntegration(t *testing.T) { } ``` -Read more about [`nhatthm/go-clock`](https://go.nhat.io/clock) +Read more about [`go.nhat.io/clock`](https://go.nhat.io/clock) ## Steps diff --git a/features/bootstrap/godog_test.go b/features/bootstrap/godog_test.go index f1180dd..22d1ce6 100644 --- a/features/bootstrap/godog_test.go +++ b/features/bootstrap/godog_test.go @@ -12,8 +12,8 @@ import ( "time" "github.com/cucumber/godog" - "github.com/nhatthm/timeparser" "github.com/stretchr/testify/assert" + "go.nhat.io/timeparser" "github.com/godogx/clocksteps" ) diff --git a/go.mod b/go.mod index 88b30b6..bbc5144 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,9 @@ go 1.17 require ( github.com/cucumber/godog v0.12.5 - github.com/nhatthm/timeparser v0.2.0 github.com/stretchr/testify v1.8.0 go.nhat.io/clock v0.7.0 + go.nhat.io/timeparser v0.3.0 ) require ( diff --git a/go.sum b/go.sum index 305c520..f465f3c 100644 --- a/go.sum +++ b/go.sum @@ -143,8 +143,6 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/nhatthm/timeparser v0.2.0 h1:iItJSmsdRUMuEj/sTCcl1V1KT96TbuQ03uRpVDudodo= -github.com/nhatthm/timeparser v0.2.0/go.mod h1:FPeNpb70J+UHjmQifiImZWrDnc4Ao8dGdtZ08oaUdro= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= @@ -198,6 +196,8 @@ github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.nhat.io/clock v0.7.0 h1:L3t8s+bOqqMXlGcv2qgKhIHBFqYS7rB84gYOHl4F7iA= go.nhat.io/clock v0.7.0/go.mod h1:95+ixhxejL/vGxvfiJnrEh19gr03GLyJcTZo7UDr6kA= +go.nhat.io/timeparser v0.3.0 h1:K29FOjYO9OVJUroSl/bb70I/FKT3CJt8APs25Npj5No= +go.nhat.io/timeparser v0.3.0/go.mod h1:YdhOZNl64RWdHdNYIHxwDu9edleVBlnrREzddab0tO4= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= diff --git a/godog.go b/godog.go index 0da038c..e6835e5 100644 --- a/godog.go +++ b/godog.go @@ -6,7 +6,7 @@ import ( "time" "github.com/cucumber/godog" - "github.com/nhatthm/timeparser" + "go.nhat.io/timeparser" ) // RegisterContext registers clock to godog tests.