Skip to content

Commit

Permalink
tcl.t: mark failing test as TODO
Browse files Browse the repository at this point in the history
Failure likely caused by changes in Tcl.pm. This is a minor issue,
and not a reason to prevent users from installing Tkx.

See: https://rt.cpan.org/Ticket/Display.html?id=115662, gisle#4, gisle#7
  • Loading branch information
chrstphrchvz authored Feb 6, 2021
1 parent 2b54da0 commit 12aefa7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/tcl.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use warnings;
use strict;
use Test qw(plan ok);

plan tests => 18;
plan tests => 18, todo => [18];

use Tkx qw(expr list lindex error);

Expand Down Expand Up @@ -35,6 +35,10 @@ eval { @list = Tkx::SplitList("a {") };
ok($@ && $@ =~ /valid Tcl list/);

eval { error("Foo") };
# TODO: broken by recent Tcl.pm?
# https://rt.cpan.org/Ticket/Display.html?id=115662
# https://github.com/gisle/tkx/issues/4
# https://github.com/gisle/tkx/issues/7
ok($@, "Foo at @{[__FILE__]} line @{[__LINE__ - 1]}.\n");

sub j { join(":", @_) }

0 comments on commit 12aefa7

Please sign in to comment.