mirror of https://github.com/databricks/cli.git
nit
This commit is contained in:
parent
603a68bade
commit
970d05157c
|
@ -18,7 +18,7 @@ func assertFileContains(t *testing.T, path string, substr string) {
|
|||
assert.Contains(t, string(b), substr)
|
||||
}
|
||||
|
||||
func TestTemplateInitialization(t *testing.T) {
|
||||
func TestTemplateInitializationForDevConfig(t *testing.T) {
|
||||
// create target directory with the input config
|
||||
tmp := t.TempDir()
|
||||
f, err := os.Create(filepath.Join(tmp, "config.json"))
|
||||
|
@ -47,7 +47,7 @@ func TestTemplateInitialization(t *testing.T) {
|
|||
assertFileContains(t, filepath.Join(tmp, "development_project", ".github"), "This is a development project")
|
||||
}
|
||||
|
||||
func TestTemplateInitialization2(t *testing.T) {
|
||||
func TestTemplateInitializationForProdConfig(t *testing.T) {
|
||||
// create target directory with the input config
|
||||
tmp := t.TempDir()
|
||||
f, err := os.Create(filepath.Join(tmp, "config.json"))
|
||||
|
|
Loading…
Reference in New Issue