Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Subhas Dandapani <rdsubhas@gmail.com>
  • Loading branch information
rdsubhas committed Nov 6, 2019
1 parent 234a518 commit 3a8b1a9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/package_test.go
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
package test

import (
. "github.com/omio-labs/myke/examples/util"
"testing"

. "github.com/omio-labs/myke/examples/util"
)

var tests = []TestTable{
{Arg: ``, Out: `(?m)^\s*PROJECT\s*\|\s*TAGS\s*\|\s*TASKS\s*$`},
{Arg: ``, Out: `(?m)^\s*env\s*\|\s*\|\s*file_custom, file_custom_local, file_default, file_default_local, path, yml\s*$`},
{Arg: ``, Out: `(?m)^\s*env\s*\|\s*\|\s*file_custom, file_custom_local, file_default, file_default_local, path,\s*$`},
{Arg: ``, Out: `(?m)^\s*hooks\s*\|\s*\|\s*after, before, error\s*$`},
{Arg: ``, Out: `(?m)^\s*mixin\s*\|\s*\|\s*path, task1, task2, task3\s*$`},
{Arg: ``, Out: `(?m)^\s*retry\s*\|\s*\|\s*retry\s*$`},
{Arg: ``, Out: `(?m)^\s*tags1\s*\|\s*tagA, tagB\s*\|\s*tag\s*$`},
{Arg: ``, Out: `(?m)^\s*tags2\s*\|\s*tagB, tagC\s*\|\s*tag\s*$`},
{Arg: ``, Out: `(?m)^\s*tags1\s*\|\s*tagA,\s*\|\s*tag\s*$`},
{Arg: ``, Out: `(?m)^\s*tags2\s*\|\s*tagB,\s*\|\s*tag\s*$`},
{Arg: ``, Out: `(?m)^\s*template\s*\|\s*\|\s*args, envs, file\s*$`},
{Arg: `--help`, Out: `(?s).*Usage.*myke options.*`},
{Arg: `--version`, Out: `.*myke version.*`},
Expand Down

0 comments on commit 3a8b1a9

Please sign in to comment.