summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-08-05 15:59:09 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-08-05 15:59:09 -0500
commit05ce22f9d2308bca51b48fb60558d17f2e381227 (patch)
treeaf4b90ca6be349c9fa4695c076c64b6e0dfde096
parent72a70b127636ae8a83e2a2bd53b69143e3c5ded0 (diff)
downloaddeb-planr-05ce22f9d2308bca51b48fb60558d17f2e381227.tar.xz
deb-planr-05ce22f9d2308bca51b48fb60558d17f2e381227.zip
--amend
-rw-r--r--adapters/gtest/results.go1
-rw-r--r--cmd/sub/build.go4
2 files changed, 2 insertions, 3 deletions
diff --git a/adapters/gtest/results.go b/adapters/gtest/results.go
index f8c8a23..e5280e3 100644
--- a/adapters/gtest/results.go
+++ b/adapters/gtest/results.go
@@ -65,7 +65,6 @@ func decodeResults(r io.Reader) []planr.TestResult {
n := len(test.Failures)
decoded = append(decoded, planr.TestResult {
- Id: suite.Name + "_" + test.Name,
Pass: n == 0,
})
}
diff --git a/cmd/sub/build.go b/cmd/sub/build.go
index 19220d3..8108768 100644
--- a/cmd/sub/build.go
+++ b/cmd/sub/build.go
@@ -2,11 +2,11 @@ package sub
import (
"golang.flu0r1ne.net/planr"
- "golang.flu0r1ne.net/planr/adapters"
+ "golang.flu0r1ne.net/planr/adapters/gtest"
)
func Build(params []string) {
- gtestAdapter := adapters.GtestAdapter {}
+ gtestAdapter := gtest.GtestAdapter {}
r := planr.Runner{}
r.RegisterAdapter(&gtestAdapter)