[Bug 1930776] Re: failing test with golang 1.16
Bug Watch Updater
1930776 at bugs.launchpad.net
Wed Dec 1 03:41:23 UTC 2021
** Changed in: golang-github-nicksnyder-go-i18n.v2 (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1930776
Title:
failing test with golang 1.16
Status in golang-github-nicksnyder-go-i18n.v2 package in Ubuntu:
Fix Released
Status in golang-github-nicksnyder-go-i18n.v2 package in Debian:
Fix Released
Bug description:
Running tests with golang 1.16 results in the following test failure:
=== RUN TestExecute/hello_{{
template_test.go:57: expected err "template: :1: unexpected unclosed action in command"; got "template: :1: unclosed action"
--- FAIL: TestExecute (0.00s)
I have reported this upstream.
https://github.com/nicksnyder/go-i18n/issues/259
A fix is reasonably straightforward - one could just check that error
is non-nil for example, instead of worrying about the exact error
text. Or one could check that "unclosed action" is part of the error
substring.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-nicksnyder-go-i18n.v2/+bug/1930776/+subscriptions
More information about the Ubuntu-sponsors
mailing list