Skip to content

Commit

Permalink
Add _internal to filename of tests created with internal flag (#751)
Browse files Browse the repository at this point in the history
Fixes #750
  • Loading branch information
kevinkirkup committed Dec 12, 2020
1 parent adac43d commit 43c12da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ginkgo/generate_command.go
Expand Up @@ -114,6 +114,10 @@ func generateSpecForSubject(subject string, agouti, noDot, internal bool) error
formattedName = prettifyPackageName(specFilePrefix)
}

if internal {
specFilePrefix = specFilePrefix + "_internal"
}

data := specData{
Package: determinePackageName(packageName, internal),
Subject: formattedName,
Expand Down

0 comments on commit 43c12da

Please sign in to comment.