go.scm 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2021 François Joulaud <francois.joulaud@radiofrance.com>
  3. ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
  4. ;;;
  5. ;;; This file is part of GNU Guix.
  6. ;;;
  7. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  8. ;;; under the terms of the GNU General Public License as published by
  9. ;;; the Free Software Foundation; either version 3 of the License, or (at
  10. ;;; your option) any later version.
  11. ;;;
  12. ;;; GNU Guix is distributed in the hope that it will be useful, but
  13. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. ;;; GNU General Public License for more details.
  16. ;;;
  17. ;;; You should have received a copy of the GNU General Public License
  18. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  19. ;;; Summary
  20. ;; Tests for guix/import/go.scm
  21. (define-module (tests-import-go)
  22. #:use-module (guix base32)
  23. #:use-module (guix build-system go)
  24. #:use-module (guix import go)
  25. #:use-module (guix base32)
  26. #:use-module ((guix utils) #:select (call-with-temporary-directory))
  27. #:use-module (guix tests)
  28. #:use-module (ice-9 match)
  29. #:use-module (srfi srfi-19)
  30. #:use-module (srfi srfi-64)
  31. #:use-module (web response))
  32. (define go.mod-requirements
  33. (@@ (guix import go) go.mod-requirements))
  34. (define parse-go.mod
  35. (@@ (guix import go) parse-go.mod))
  36. (define fixture-go-mod-simple
  37. "module my/thing
  38. go 1.12
  39. require other/thing v1.0.2
  40. require new/thing/v2 v2.3.4
  41. exclude old/thing v1.2.3
  42. replace bad/thing v1.4.5 => good/thing v1.4.5
  43. ")
  44. (define fixture-go-mod-with-block
  45. "module M
  46. require (
  47. A v1
  48. B v1.0.0
  49. C v1.0.0
  50. D v1.2.3
  51. E dev
  52. )
  53. exclude D v1.2.3
  54. ")
  55. (define fixture-go-mod-complete
  56. "module M
  57. go 1.13
  58. replace github.com/myname/myproject/myapi => ./api
  59. replace github.com/mymname/myproject/thissdk => ../sdk
  60. replace launchpad.net/gocheck => github.com/go-check/check v0.0.0-20140225173054-eb6ee6f84d0a
  61. require (
  62. github.com/user/project v1.1.11
  63. github.com/user/project/sub/directory v1.1.12
  64. bitbucket.org/user/project v1.11.20
  65. bitbucket.org/user/project/sub/directory v1.11.21
  66. launchpad.net/project v1.1.13
  67. launchpad.net/project/series v1.1.14
  68. launchpad.net/project/series/sub/directory v1.1.15
  69. launchpad.net/~user/project/branch v1.1.16
  70. launchpad.net/~user/project/branch/sub/directory v1.1.17
  71. hub.jazz.net/git/user/project v1.1.18
  72. hub.jazz.net/git/user/project/sub/directory v1.1.19
  73. k8s.io/kubernetes/subproject v1.1.101
  74. one.example.com/abitrary/repo v1.1.111
  75. two.example.com/abitrary/repo v0.0.2
  76. \"quoted.example.com/abitrary/repo\" v0.0.2
  77. )
  78. replace two.example.com/abitrary/repo => github.com/corp/arbitrary-repo v0.0.2
  79. replace (
  80. golang.org/x/sys => golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a // pinned to release-branch.go1.13
  81. golang.org/x/tools => golang.org/x/tools v0.0.0-20190821162956-65e3620a7ae7 // pinned to release-branch.go1.13
  82. )
  83. ")
  84. (define fixture-go-mod-unparsable
  85. "module my/thing
  86. go 1.12 // avoid feature X
  87. require other/thing v1.0.2
  88. // Security issue: CVE-XXXXX
  89. exclude old/thing v1.2.3
  90. new-directive another/thing yet-another/thing
  91. replace (
  92. bad/thing v1.4.5 => good/thing v1.4.5
  93. // Unparseable
  94. bad/thing [v1.4.5, v1.9.7] => good/thing v2.0.0
  95. )
  96. ")
  97. (define fixture-go-mod-retract
  98. "retract v0.9.1
  99. retract (
  100. v1.9.2
  101. [v1.0.0, v1.7.9]
  102. )
  103. ")
  104. (define fixture-go-mod-strings
  105. "require `example.com/\"some-repo\"` v1.9.3
  106. require (
  107. `example.com/\"another.repo\"` v1.0.0
  108. \"example.com/special!repo\" v9.3.1
  109. )
  110. replace \"example.com/\\\"some-repo\\\"\" => `launchpad.net/some-repo` v1.9.3
  111. replace (
  112. \"example.com/\\\"another.repo\\\"\" => launchpad.net/another-repo v1.0.0
  113. )
  114. ")
  115. (define fixtures-go-check-test
  116. (let ((version
  117. "{\"Version\":\"v0.0.0-20201130134442-10cb98267c6c\",\"Time\":\"2020-11-30T13:44:42Z\"}")
  118. (go.mod
  119. "module gopkg.in/check.v1
  120. go 1.11
  121. require github.com/kr/pretty v0.2.1
  122. ")
  123. (go-get
  124. "<!DOCTYPE html>
  125. <html lang=\"en\" >
  126. <head>
  127. <meta charset=\"utf-8\">
  128. <link rel=\"dns-prefetch\" href=\"https://github.githubassets.com\">
  129. <script crossorigin=\"anonymous\" defer=\"defer\" integrity=\"sha512-aw5tciVT0IsECUmMuwp9ez60QReE2/yFNL1diLgZnOom6RhU8+0lG3RlAKto4JwbCoEP15E41Pksd7rK5BKfCQ==\" type=\"application/javascript\" src=\"https://github.githubassets.com/assets/topic-suggestions-6b0e6d72.js\"></script>
  130. <meta name=\"viewport\" content=\"width=device-width\">
  131. <title>GitHub - go-check/check: Rich testing for the Go language</title>
  132. <meta name=\"description\" content=\"Rich testing for the Go language. Contribute to go-check/check development by creating an account on GitHub.\">
  133. <link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"/opensearch.xml\" title=\"GitHub\">
  134. <link rel=\"fluid-icon\" href=\"https://github.com/fluidicon.png\" title=\"GitHub\">
  135. <!-- To prevent page flashing, the optimizely JS needs to be loaded in the
  136. <head> tag before the DOM renders -->
  137. <meta name=\"hostname\" content=\"github.com\">
  138. <meta name=\"user-login\" content=\"\">
  139. <link href=\"https://github.com/go-check/check/commits/v1.atom\" rel=\"alternate\" title=\"Recent Commits to check:v1\" type=\"application/atom+xml\">
  140. <meta name=\"go-import\" content=\"github.com/go-check/check git https://github.com/go-check/check.git\">
  141. </head>
  142. <body class=\"logged-out env-production page-responsive\" style=\"word-wrap: break-word;\">
  143. </body>
  144. </html>
  145. ")
  146. (pkg.go.dev "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n</head>\n<body class=\"Site Site--wide Site--redesign\">\n <div class=\"Site-content\">\n <div class=\"Container\">\n <div class=\"UnitDetails\" data-test-id=\"UnitDetails\">\n <div class=\"UnitDetails-content js-unitDetailsContent\" role=\"main\" data-test-id=\"UnitDetails-content\">\n <div class=\"UnitReadme js-readme\">\n <h2 class=\"UnitReadme-title\" id=\"section-readme\"><img height=\"25px\" width=\"20px\" src=\"/static/img/pkg-icon-readme_20x16.svg\" alt=\"\">README</h2>\n <div class=\"UnitReadme-content\" data-test-id=\"Unit-readmeContent\">\n <div class=\"Overview-readmeContent js-readmeContent\">\n <h3 class=\"h1\" id=\"readme-instructions\">Instructions</h3>\n <p>Install the package with:</p>\n <pre><code>go get gopkg.in/check.v1\n</code></pre>\n </div>\n <div class=\"UnitReadme-fadeOut\"></div>\n </div>\n </div>\n <div class=\"UnitDoc\">\n <h2 class=\"UnitDoc-title\" id=\"section-documentation\"><img height=\"25px\" width=\"20px\" src=\"/static/img/pkg-icon-doc_20x12.svg\" alt=\"\">Documentation</h2>\n <div class=\"Documentation js-documentation\">\n <div class=\"Documentation-content js-docContent\">\n <section class=\"Documentation-overview\">\n <h3 tabindex=\"-1\" id=\"pkg-overview\" class=\"Documentation-overviewHeader\">Overview <a href=\"#pkg-overview\">¶</a></h3>\n <div role=\"navigation\" aria-label=\"Table of Contents\">\n <ul class=\"Documentation-toc\"></ul>\n </div>\n <p>Package check is a rich testing extension for Go's testing package.</p>\n <p>For details about the project, see:</p>\n <pre><a href=\"http://labix.org/gocheck\">http://labix.org/gocheck</a>\n</pre>\n </section>\n <h3 tabindex=\"-1\" id=\"pkg-constants\" class=\"Documentation-constantsHeader\">Constants <a href=\"#pkg-constants\">¶</a></h3>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</body>\n</html>\n")
  147. (pkg.go.dev-licence "<!DOCTYPE html>\n<html lang=\"en\">\n<meta charset=\"utf-8\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n<body class=\"Site Site--wide Site--redesign\">\n <div class=\"Unit-content\" role=\"main\">\n <section class=\"License\" id=\"lic-0\">\n <h2><div id=\"#lic-0\">BSD-2-Clause</div></h2>\n <p>This is not legal advice. <a href=\"/license-policy\">Read disclaimer.</a></p>\n <pre class=\"License-contents\">Gocheck - A rich testing framework for Go\n \nCopyright line\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met: \n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer. \n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution. \n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#34;AS IS&#34; AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n</pre>\n </section>\n <div class=\"License-source\">Source: github.com/go-check/check@v0.0.0-20201128035030-22ab2dfb190c/LICENSE</div>\n </div>\n </div>\n"))
  148. `(("https://proxy.golang.org/github.com/go-check/check/@v/v0.0.0-20201130134442-10cb98267c6c.mod"
  149. . ,go.mod)
  150. ("https://proxy.golang.org/github.com/go-check/check/@latest"
  151. . ,version)
  152. ("https://github.com/go-check/check?go-get=1"
  153. . ,go-get)
  154. ("https://pkg.go.dev/github.com/go-check/check"
  155. . ,pkg.go.dev)
  156. ("https://pkg.go.dev/github.com/go-check/check?tab=licenses"
  157. . ,pkg.go.dev-licence)
  158. ("https://proxy.golang.org/github.com/go-check/check/@v/list" . ""))))
  159. (test-begin "go")
  160. ;;; Unit tests for go build-system
  161. (test-equal "go-version basic"
  162. "v1.0.2"
  163. (go-version->git-ref "v1.0.2"))
  164. (test-equal "go-version with embedded git-ref"
  165. "65e3620a7ae7"
  166. (go-version->git-ref "v0.0.0-20190821162956-65e3620a7ae7"))
  167. (test-equal "go-version with complex embedded git-ref"
  168. "daa7c04131f5"
  169. (go-version->git-ref "v1.2.4-0.20191109021931-daa7c04131f5"))
  170. (test-assert "go-pseudo-version? multi-digit version number"
  171. (go-pseudo-version? "v1.23.1-0.20200526195155-81db48ad09cc"))
  172. (test-assert "go-pseudo-version? semantic version with rc"
  173. (go-pseudo-version? "v1.4.0-rc.4.0.20200313231945-b860323f09d0"))
  174. ;;; Unit tests for (guix import go)
  175. (test-equal "go-path-escape"
  176. "github.com/!azure/!avere"
  177. ((@@ (guix import go) go-path-escape) "github.com/Azure/Avere"))
  178. ;; We define a function for all similar tests with different go.mod files
  179. (define (testing-parse-mod name expected input)
  180. (define (inf? p1 p2)
  181. (string<? (car p1) (car p2)))
  182. (test-equal name
  183. (sort expected inf?)
  184. (sort (go.mod-requirements (parse-go.mod input)) inf?)))
  185. (testing-parse-mod "parse-go.mod-simple"
  186. '(("good/thing" "v1.4.5")
  187. ("new/thing/v2" "v2.3.4")
  188. ("other/thing" "v1.0.2"))
  189. fixture-go-mod-simple)
  190. (testing-parse-mod "parse-go.mod-with-block"
  191. '(("A" "v1")
  192. ("B" "v1.0.0")
  193. ("C" "v1.0.0")
  194. ("D" "v1.2.3")
  195. ("E" "dev"))
  196. fixture-go-mod-with-block)
  197. (testing-parse-mod
  198. "parse-go.mod-complete"
  199. '(("github.com/corp/arbitrary-repo" "v0.0.2")
  200. ("quoted.example.com/abitrary/repo" "v0.0.2")
  201. ("one.example.com/abitrary/repo" "v1.1.111")
  202. ("hub.jazz.net/git/user/project/sub/directory" "v1.1.19")
  203. ("hub.jazz.net/git/user/project" "v1.1.18")
  204. ("launchpad.net/~user/project/branch/sub/directory" "v1.1.17")
  205. ("launchpad.net/~user/project/branch" "v1.1.16")
  206. ("launchpad.net/project/series/sub/directory" "v1.1.15")
  207. ("launchpad.net/project/series" "v1.1.14")
  208. ("launchpad.net/project" "v1.1.13")
  209. ("bitbucket.org/user/project/sub/directory" "v1.11.21")
  210. ("bitbucket.org/user/project" "v1.11.20")
  211. ("k8s.io/kubernetes/subproject" "v1.1.101")
  212. ("github.com/user/project/sub/directory" "v1.1.12")
  213. ("github.com/user/project" "v1.1.11")
  214. ("github.com/go-check/check" "v0.0.0-20140225173054-eb6ee6f84d0a"))
  215. fixture-go-mod-complete)
  216. (test-equal "parse-go.mod: simple"
  217. `((module (module-path "my/thing"))
  218. (go (version "1.12"))
  219. (require (module-path "other/thing") (version "v1.0.2"))
  220. (require (module-path "new/thing/v2") (version "v2.3.4"))
  221. (exclude (module-path "old/thing") (version "v1.2.3"))
  222. (replace (original (module-path "bad/thing") (version "v1.4.5"))
  223. (with (module-path "good/thing") (version "v1.4.5"))))
  224. (parse-go.mod fixture-go-mod-simple))
  225. (test-equal "parse-go.mod: comments and unparsable lines"
  226. `((module (module-path "my/thing"))
  227. (go (version "1.12") (comment "avoid feature X"))
  228. (require (module-path "other/thing") (version "v1.0.2"))
  229. (comment "Security issue: CVE-XXXXX")
  230. (exclude (module-path "old/thing") (version "v1.2.3"))
  231. (unknown "new-directive another/thing yet-another/thing")
  232. (replace (original (module-path "bad/thing") (version "v1.4.5"))
  233. (with (module-path "good/thing") (version "v1.4.5")))
  234. (comment "Unparseable")
  235. (unknown "bad/thing [v1.4.5, v1.9.7] => good/thing v2.0.0"))
  236. (parse-go.mod fixture-go-mod-unparsable))
  237. (test-equal "parse-go.mod: retract"
  238. `((retract (version "v0.9.1"))
  239. (retract (version "v1.9.2"))
  240. (retract (range (version "v1.0.0") (version "v1.7.9"))))
  241. (parse-go.mod fixture-go-mod-retract))
  242. (test-equal "parse-go.mod: raw strings and quoted strings"
  243. `((require (module-path "example.com/\"some-repo\"") (version "v1.9.3"))
  244. (require (module-path "example.com/\"another.repo\"") (version "v1.0.0"))
  245. (require (module-path "example.com/special!repo") (version "v9.3.1"))
  246. (replace (original (module-path "example.com/\"some-repo\""))
  247. (with (module-path "launchpad.net/some-repo") (version "v1.9.3")))
  248. (replace (original (module-path "example.com/\"another.repo\""))
  249. (with (module-path "launchpad.net/another-repo") (version "v1.0.0"))))
  250. (parse-go.mod fixture-go-mod-strings))
  251. (test-equal "parse-go.mod: complete"
  252. `((module (module-path "M"))
  253. (go (version "1.13"))
  254. (replace (original (module-path "github.com/myname/myproject/myapi"))
  255. (with (file-path "./api")))
  256. (replace (original (module-path "github.com/mymname/myproject/thissdk"))
  257. (with (file-path "../sdk")))
  258. (replace (original (module-path "launchpad.net/gocheck"))
  259. (with (module-path "github.com/go-check/check")
  260. (version "v0.0.0-20140225173054-eb6ee6f84d0a")))
  261. (require (module-path "github.com/user/project")
  262. (version "v1.1.11"))
  263. (require (module-path "github.com/user/project/sub/directory")
  264. (version "v1.1.12"))
  265. (require (module-path "bitbucket.org/user/project")
  266. (version "v1.11.20"))
  267. (require (module-path "bitbucket.org/user/project/sub/directory")
  268. (version "v1.11.21"))
  269. (require (module-path "launchpad.net/project")
  270. (version "v1.1.13"))
  271. (require (module-path "launchpad.net/project/series")
  272. (version "v1.1.14"))
  273. (require (module-path "launchpad.net/project/series/sub/directory")
  274. (version "v1.1.15"))
  275. (require (module-path "launchpad.net/~user/project/branch")
  276. (version "v1.1.16"))
  277. (require (module-path "launchpad.net/~user/project/branch/sub/directory")
  278. (version "v1.1.17"))
  279. (require (module-path "hub.jazz.net/git/user/project")
  280. (version "v1.1.18"))
  281. (require (module-path "hub.jazz.net/git/user/project/sub/directory")
  282. (version "v1.1.19"))
  283. (require (module-path "k8s.io/kubernetes/subproject")
  284. (version "v1.1.101"))
  285. (require (module-path "one.example.com/abitrary/repo")
  286. (version "v1.1.111"))
  287. (require (module-path "two.example.com/abitrary/repo")
  288. (version "v0.0.2"))
  289. (require (module-path "quoted.example.com/abitrary/repo")
  290. (version "v0.0.2"))
  291. (replace (original (module-path "two.example.com/abitrary/repo"))
  292. (with (module-path "github.com/corp/arbitrary-repo")
  293. (version "v0.0.2")))
  294. (replace (original (module-path "golang.org/x/sys"))
  295. (with (module-path "golang.org/x/sys")
  296. (version "v0.0.0-20190813064441-fde4db37ae7a"))
  297. (comment "pinned to release-branch.go1.13"))
  298. (replace (original (module-path "golang.org/x/tools"))
  299. (with (module-path "golang.org/x/tools")
  300. (version "v0.0.0-20190821162956-65e3620a7ae7"))
  301. (comment "pinned to release-branch.go1.13")))
  302. (parse-go.mod fixture-go-mod-complete))
  303. ;;; End-to-end tests for (guix import go)
  304. (define (mock-http-fetch testcase)
  305. (lambda (url . rest)
  306. (let ((body (assoc-ref testcase url)))
  307. (if body
  308. (open-input-string body)
  309. (error "mocked http-fetch Unexpected URL: " url)))))
  310. (define (mock-http-get testcase)
  311. (lambda (url . rest)
  312. (let ((body (assoc-ref testcase url))
  313. (response-header
  314. (build-response
  315. #:version '(1 . 1)
  316. #:code 200
  317. #:reason-phrase "Ok"
  318. #:headers `(
  319. (content-type text/html (charset . "utf-8"))
  320. (date . ,(make-date 0 10 58 12 6 3 2021 0))
  321. (transfer-encoding (chunked)))
  322. #:port #f
  323. #:validate-headers? #t)))
  324. (if body
  325. (values response-header body)
  326. (error "mocked http-get Unexpected URL: " url)))))
  327. (test-equal "go-module->guix-package"
  328. '(package
  329. (name "go-github-com-go-check-check")
  330. (version "0.0.0-20201130134442-10cb98267c6c")
  331. (source
  332. (origin
  333. (method git-fetch)
  334. (uri (git-reference
  335. (url "https://github.com/go-check/check")
  336. (commit (go-version->git-ref version))))
  337. (file-name (git-file-name name version))
  338. (sha256
  339. (base32
  340. "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5"))))
  341. (build-system go-build-system)
  342. (arguments
  343. '(#:import-path "github.com/go-check/check"))
  344. (propagated-inputs
  345. `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
  346. (home-page "https://github.com/go-check/check")
  347. (synopsis "Instructions")
  348. (description "Package check is a rich testing extension for Go's testing \
  349. package.")
  350. (license license:bsd-2))
  351. ;; Replace network resources with sample data.
  352. (call-with-temporary-directory
  353. (lambda (checkout)
  354. (mock ((web client) http-get
  355. (mock-http-get fixtures-go-check-test))
  356. (mock ((guix http-client) http-fetch
  357. (mock-http-fetch fixtures-go-check-test))
  358. (mock ((guix git) update-cached-checkout
  359. (lambda* (url #:key ref)
  360. ;; Return an empty directory and its hash.
  361. (values checkout
  362. (nix-base32-string->bytevector
  363. "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5")
  364. #f)))
  365. (go-module->guix-package* "github.com/go-check/check")))))))
  366. (test-end "go")