This patch resolves the broken tests by checking if the string "unclosed action" is present in the error message rather than looking for the whole message. This allows it to work on all versions of go.
It has been forwarded upstream: https://github.com/nicksnyder/go- i18n/pull/260 It has been forwarded to Debian: https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=990236 ** Bug watch added: Debian Bug tracker #990236 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990236 ** Patch added: "lp1930776.debdiff" https://bugs.launchpad.net/ubuntu/+source/golang-github-nicksnyder-go-i18n.v2/+bug/1930776/+attachment/5506503/+files/lp1930776.debdiff ** Also affects: golang-github-nicksnyder-go-i18n.v2 (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990236 Importance: Unknown Status: Unknown ** Changed in: golang-github-nicksnyder-go-i18n.v2 (Ubuntu) Assignee: (unassigned) => William Wilson (jawn-smith) ** Changed in: golang-github-nicksnyder-go-i18n.v2 (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930776 Title: failing test with golang 1.16 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-nicksnyder-go-i18n.v2/+bug/1930776/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs