[Bug 1930776] [NEW] failing test with golang 1.16

Launchpad Bug Tracker 1930776 at bugs.launchpad.net
Wed Jun 23 17:01:49 UTC 2021


You have been subscribed to a public bug by William Wilson (jawn-smith):

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.

** Affects: golang-github-nicksnyder-go-i18n.v2 (Ubuntu)
     Importance: Undecided
     Assignee: William Wilson (jawn-smith)
         Status: New

** Affects: golang-github-nicksnyder-go-i18n.v2 (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse
-- 
failing test with golang 1.16
https://bugs.launchpad.net/bugs/1930776
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list