Fix incorrect order of parameters passed to NewSubscribedTrack (#272)

* Fix incorrect order of parameters passed to NewSubscribedTrack

Switched to explicit values via a params struct
This commit is contained in:
David Zhao
2021-12-20 14:02:33 -08:00
committed by GitHub
parent 0f728b0b72
commit b32ab0e54f
6 changed files with 108 additions and 102 deletions
+2 -2
View File
@@ -117,7 +117,7 @@ func PublishDocker() error {
// run unit tests, skipping integration
func Test() error {
mg.Deps(generateWire)
cmd := exec.Command("go", "test", "-v", "-short", "./...")
cmd := exec.Command("go", "test", "-short", "./...")
connectStd(cmd)
return cmd.Run()
}
@@ -126,7 +126,7 @@ func Test() error {
func TestAll() error {
mg.Deps(generateWire)
// "-v", "-race",
cmd := exec.Command("go", "test", "-v", "./...", "-count=1", "-timeout=4m")
cmd := exec.Command("go", "test", "./...", "-count=1", "-timeout=4m")
connectStd(cmd)
return cmd.Run()
}