This commit is contained in:
Shreyas Goenka 2023-05-17 13:43:27 +02:00
parent 603a68bade
commit 970d05157c
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 2 deletions

View File

@ -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"))