(t *testing.T)
| 650 | } |
| 651 | |
| 652 | func TestCmdDoFuzzyExactWins(t *testing.T) { |
| 653 | setupFlowRoot(t) |
| 654 | seedTask(t, "auth") |
| 655 | seedTask(t, "auth fix") |
| 656 | |
| 657 | stubITerm(t) |
| 658 | if rc := cmdDo([]string{"auth"}); rc != 0 { |
| 659 | t.Fatalf("rc=%d", rc) |
| 660 | } |
| 661 | db := openFlowDB(t) |
| 662 | task, _ := flowdb.GetTask(db, "auth") |
| 663 | if task.Status != "in-progress" { |
nothing calls this directly
no test coverage detected