Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Name alignment, agent to a1pms, in test env
[nonrtric.git]
/
dmaap-mediator-producer
/
main_test.go
diff --git
a/dmaap-mediator-producer/main_test.go
b/dmaap-mediator-producer/main_test.go
index
3653e9e
..
19851be
100644
(file)
--- a/
dmaap-mediator-producer/main_test.go
+++ b/
dmaap-mediator-producer/main_test.go
@@
-22,6
+22,7
@@
package main
import (
"bytes"
import (
"bytes"
+ "fmt"
"io/ioutil"
"net/http"
"os/exec"
"io/ioutil"
"net/http"
"os/exec"
@@
-40,7
+41,10
@@
import (
func TestGenerateSwaggerDocs(t *testing.T) {
cmd := exec.Command("./generate_swagger_docs.sh")
func TestGenerateSwaggerDocs(t *testing.T) {
cmd := exec.Command("./generate_swagger_docs.sh")
- cmd.Run()
+ err := cmd.Run()
+ if err != nil {
+ fmt.Println("Error generating Swagger:", err)
+ }
}
func TestValidateConfiguration(t *testing.T) {
}
func TestValidateConfiguration(t *testing.T) {