update func names to match new convention

This commit is contained in:
rushtehrani
2020-07-09 13:50:42 -07:00
parent c1d123ec2c
commit dfd892d6f1
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ routes:
`
)
func TestParseWorkspaceSpec(t *testing.T) {
func Test_ParseWorkspaceSpec(t *testing.T) {
workspaceSpec, err := parseWorkspaceSpec(workspaceSpecManifest)
assert.Nil(t, err)
assert.NotEmpty(t, workspaceSpec)

View File

@@ -28,7 +28,7 @@ func assertWorkspaceNameValid(t *testing.T, name string) {
assert.True(t, valid)
}
func TestWorkspaceNameValidation_RegexValid(t *testing.T) {
func Test_WorkspaceNameValidation_RegexValid(t *testing.T) {
assertWorkspaceNameInvalid(t, "600s")
assertWorkspaceNameValid(t, "test-5")