Index: go/src/infra/gae/libs/gae/memory/taskqueue_test.go |
diff --git a/go/src/infra/gae/libs/gae/memory/taskqueue_test.go b/go/src/infra/gae/libs/gae/memory/taskqueue_test.go |
index 9d090b9f5db0ad1c442b8c23ff5409981cda0af6..310ffe778e30e31e1dfdb64bc3427796cc94868d 100644 |
--- a/go/src/infra/gae/libs/gae/memory/taskqueue_test.go |
+++ b/go/src/infra/gae/libs/gae/memory/taskqueue_test.go |
@@ -74,11 +74,11 @@ func TestTaskQueue(t *testing.T) { |
}) |
}) |
- Convey("requires a URL", func() { |
+ Convey("supplies a URL if it's missing", func() { |
t.Path = "" |
tr, err := tq.Add(t, "") |
- So(err.Error(), ShouldContainSubstring, "INVALID_URL") |
- So(tr, ShouldBeNil) |
+ So(err, ShouldBeNil) |
+ So(tr.Path, ShouldEqual, "/_ah/queue/default") |
}) |
Convey("cannot add twice", func() { |