Capitalize type names to prepare for moving them to the top level package
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
|
||||
func TestRouter(t *testing.T) {
|
||||
fmap := makeFunctionServiceMap()
|
||||
fn := &function{name: "foo", uid: "xxx"}
|
||||
fn := &Function{Name: "foo", Uid: "xxx"}
|
||||
|
||||
testResponseString := "hi"
|
||||
testServiceUrl := createBackendService(testResponseString)
|
||||
@@ -33,7 +33,7 @@ func TestRouter(t *testing.T) {
|
||||
|
||||
triggers := makeHTTPTriggerSet(fmap, "", "")
|
||||
triggerUrl := "/foo"
|
||||
triggers.triggers = append(triggers.triggers, httptrigger{triggerUrl, *fn})
|
||||
triggers.triggers = append(triggers.triggers, HTTPTrigger{triggerUrl, *fn})
|
||||
|
||||
port := 4242
|
||||
go server(port, triggers)
|
||||
|
||||
Reference in New Issue
Block a user