Skip to content

Fix for failed test at CPAN #7

Description

@anne-gert

Hello maintainers,

I've been using the Tkx module for years and I'm very happy with it. Unfortunately, there is a long-standing test issue on CPAN ( see http://www.cpantesters.org/cpan/report/640f2c8c-1c8e-11eb-9ee7-b9ac198ac9a8 ).

The error reads:

# Test 18 got: "Tcl error 'Foo at /home/sand/src/perl/repoperls/installed-perls/host/k93bionic/v5.33.3/ebf1/lib/site_perl/5.33.3/x86_64-linux-thread-multi-ld/Tcl.pm line 817.\n' while invoking scalar result call:\n\t\"error Foo\" at t/tcl.t line 38.\n" (t/tcl.t at line 39)
#    Expected: "Foo at t/tcl.t line 38.\n"
#  t/tcl.t line 39 is: ok($@, "Foo at @{[__FILE__]} line @{[__LINE__ - 1]}.\n");
t/tcl.t ........... 

I believe the problem is a platform dependency in the regex in Tkx.pm at line 334.

Change the end of that regex from \n\z to \s*\z

  • Is this sufficient information to request an update?
  • Is this module still being maintained?

Best Regards,

Anne-Gert

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions