Skip to content

Commit

Permalink
(wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu committed Apr 6, 2024
1 parent 51b415b commit 6687363
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions pkg/cmd/project/get/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import (
"github.com/stretchr/testify/assert"
)

var bFalse = false

func TestCmdGet(t *testing.T) {
shouldCall := func(t *testing.T) func(
io.Writer, *util.OutputFlags, dto.Project) error {
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/task/add/add_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
"github.com/stretchr/testify/assert"
)

var bFalse = false

func TestCmdAdd(t *testing.T) {
shouldCall := func(t *testing.T) func(
io.Writer, *util.OutputFlags, dto.Task) error {
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/task/delete/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import (

type report func(io.Writer, *util.OutputFlags, dto.Task) error

var bFalse = false

func TestCmdDelete(t *testing.T) {
tts := []struct {
name string
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/task/done/done_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import (
"github.com/stretchr/testify/assert"
)

var bFalse = false

func TestCmdDone(t *testing.T) {
te := dto.Task{ID: "task-id", Name: "Task with ID", ProjectID: "p-1"}
shouldCall := func(t *testing.T) func(
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/task/edit/edit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
"github.com/stretchr/testify/assert"
)

var bFalse = false

func TestCmdEdit(t *testing.T) {
te := dto.Task{ID: "task-id"}
shouldCall := func(t *testing.T) func(
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/task/quick-add/quick-add_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import (
"github.com/stretchr/testify/assert"
)

var bFalse = false

func TestCmdQuickAdd(t *testing.T) {
shouldCall := func(t *testing.T) func(
io.Writer, *util.OutputFlags, []dto.Task) error {
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/time-entry/util/interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func GetPropsInteractiveFn(
c,
f.UI(),
dc,
f.Config().GetBool(cmdutil.CONF_ALLOW_ARCHIVED_TAGS),
f.Config().IsAllowArchivedTags(),
)
}
}
Expand Down

0 comments on commit 6687363

Please sign in to comment.