juju/errors tests do not pass with go 1.6

Bug #1580391 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Dave Cheney

Bug Description

lucky(~/src/github.com/juju/errors) % go1.6 test

----------------------------------------------------------------------
FAIL: functions_test.go:68: functionSuite.TestDeferredAnnotatef

functions_test.go:81:
    c.Assert(errors.Details(err), jc.Contains, tagToLocation["deferredAnnotate"].String())
... obtained string = "[{github.com/juju/errors/functions_test.go:76: deferred annotate} {github.com/juju/errors/functions_test.go:73: first}]"
... expected string = "github.com/juju/errors/functions_test.go:77"

OOPS: 21 passed, 1 FAILED
--- FAIL: Test (0.03s)
FAIL
exit status 1
FAIL github.com/juju/errors 0.031s

Revision history for this message
Dave Cheney (dave-cheney) wrote :

Looks like they don't pass with Go 1.4 either ...

lucky(~/src/github.com/juju/errors) % go1.4 test

----------------------------------------------------------------------
FAIL: functions_test.go:68: functionSuite.TestDeferredAnnotatef

functions_test.go:81:
    c.Assert(errors.Details(err), jc.Contains, tagToLocation["deferredAnnotate"].String())
... obtained string = "[{github.com/juju/errors/functions_test.go:76: deferred annotate} {github.com/juju/errors/functions_test.go:73: first}]"
... expected string = "github.com/juju/errors/functions_test.go:77"

OOPS: 21 passed, 1 FAILED
--- FAIL: Test (0.02s)
FAIL
exit status 1
FAIL github.com/juju/errors 0.031s

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: tech-debt unit-tests
Tim Penhey (thumper)
Changed in juju-core:
assignee: nobody → Dave Cheney (dave-cheney)
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.