Skip to content

Commit

Permalink
change all references to config.yaml to config.snc
Browse files Browse the repository at this point in the history
  • Loading branch information
korenyoni committed Jul 27, 2018
1 parent cddb20a commit 62cbed1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ import (
)

func TestConfigBinData(t *testing.T) {
_, err := Asset("config.yaml")
_, err := Asset("config.snc")
if err != nil {
t.Fatal(fmt.Sprint("Expecting no error, got \n%s", err))
}
}

func TestConfigNew(t *testing.T) {
configYaml, _ := Asset("config.yaml")
configYaml, _ := Asset("config.snc")
_, err := config.New(configYaml)
if err != nil {
t.Fatal(fmt.Sprint("Expecting no error, got \n%s", err))
}
}

func TestRunnerNew(t *testing.T) {
configYaml, _ := Asset("config.yaml")
configYaml, _ := Asset("config.snc")
conf, _ := config.New(configYaml)
ctx := context.New(true)
_, err := runner.New(&ctx, conf)
Expand All @@ -35,7 +35,7 @@ func TestRunnerNew(t *testing.T) {
}

func TestRunnerCommandErr(t *testing.T) {
configYaml, _ := Asset("config.yaml")
configYaml, _ := Asset("config.snc")
conf, _ := config.New(configYaml)
ctx := context.New(true)
ctx, err := context.CommandErr(ctx)
Expand Down

0 comments on commit 62cbed1

Please sign in to comment.