Public bug reported:

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
         Status: New


** Tags: update-excuse

-- 
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

Reply via email to