* Always use the helpers package for the entry point for tests * Move test main/package to top-level complement package This reads much more nicely and clearly shows the entry point for testing with complement. * Remove Deploy proxy function as it is useless * Use complement.Deploy everywhere This ensures consistency with in-repo and out-of-repo tests, which need to refer to the complement package. * Fix helpful error messages when TestMain isn't called
11 lines
142 B
Go
11 lines
142 B
Go
package tests
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/matrix-org/complement"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
complement.TestMain(m, "msc3391")
|
|
}
|