Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix test skipping.

  • Loading branch information...
commit fc32adefb1eb42362d6ba7920bbebc474136e81c 1 parent 2ae484f
@AlekSi authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 integration_test/remote_test.go
View
10 integration_test/remote_test.go
@@ -15,6 +15,11 @@ type R struct{}
var _ = Suite(&R{})
func (*R) SetUpTest(c *C) {
+ if testing.Short() {
+ c.Skip("-short passed")
+ return
+ }
+
setupTest(c)
server := os.Getenv("GONUTS_IO_SERVER")
@@ -31,11 +36,6 @@ func (r *R) TearDownTest(c *C) {
}
func (*R) TestPublishGet(c *C) {
- if testing.Short() {
- c.Skip("-short passed")
- return
- }
-
_, stderr := runNut(c, TestNut1, "pack -v")
c.Check(strings.HasSuffix(stderr, `test_nut1-0.0.1.nut created.`), Equals, true)
gitNoDiff(c, TestNut1)
Please sign in to comment.
Something went wrong with that request. Please try again.