diff --git a/realize/config_test.go b/realize/config_test.go new file mode 100644 index 0000000..4903e5c --- /dev/null +++ b/realize/config_test.go @@ -0,0 +1,16 @@ +package realize + +import ( + "gopkg.in/urfave/cli.v2" + "testing" +) + +var context *cli.Context + +func TestNew(t *testing.T) { + actual := New(context) + expected := &Config{file:AppFile,Version: AppVersion} + if actual == expected { + t.Errorf("Test failed, expected: '%s', got: '%s'",expected, actual) + } +} \ No newline at end of file