mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 14:23:25 +00:00
Refactoring: variable names, adding tests and http constants
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -167,6 +167,7 @@ func TestReaderSuccessReturnsCorrectBodyWithOneFunction(t *testing.T) {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
marshalled, _ := json.Marshal(functions)
|
||||
expected := string(marshalled)
|
||||
if w.Body.String() != expected {
|
||||
|
Reference in New Issue
Block a user