[ARVADOS] updated: 2.1.0-762-g0a6c32607

Git user git at public.arvados.org
Wed May 5 17:37:51 UTC 2021


Summary of changes:
 sdk/go/arvados/duration_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  0a6c326074bdba18a13428f4580a313a6b5d7687 (commit)
      from  67e5e79be0d7d668ffa5bae4706989914f5c4292 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 0a6c326074bdba18a13428f4580a313a6b5d7687
Author: Tom Clegg <tom at curii.com>
Date:   Wed May 5 13:32:29 2021 -0400

    Fix test regexp.
    
    amends commit 51d072fb24a69336c09fe4320102f5797db0d5e0
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/sdk/go/arvados/duration_test.go b/sdk/go/arvados/duration_test.go
index fa0ef0aec..6a198e694 100644
--- a/sdk/go/arvados/duration_test.go
+++ b/sdk/go/arvados/duration_test.go
@@ -56,7 +56,7 @@ func (s *DurationSuite) TestUnmarshalJSON(c *check.C) {
 	err = json.Unmarshal([]byte(`{"D":"1"}`), &d)
 	c.Check(err, check.ErrorMatches, `.*missing unit in duration "?1"?`)
 	err = json.Unmarshal([]byte(`{"D":"foobar"}`), &d)
-	c.Check(err, check.ErrorMatches, `.*invalid duration "foobar"`)
+	c.Check(err, check.ErrorMatches, `.*invalid duration "?foobar"?`)
 	err = json.Unmarshal([]byte(`{"D":"60s"}`), &d)
 	c.Check(err, check.IsNil)
 	c.Check(d.D.Duration(), check.Equals, time.Minute)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list