Skip to content

Commit

Permalink
Properly fail on try verify a seahaven sol when in freecell mode
Browse files Browse the repository at this point in the history
There are Likely many similar bugs
  • Loading branch information
shlomif committed Nov 28, 2024
1 parent ed179b9 commit 2c613ce
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if ($@)
}
else
{
plan tests => 4;
plan tests => 5;
}

{
Expand Down Expand Up @@ -62,4 +62,13 @@ else
qr#\S#ms,
"[Freecell mode trying to verify Seahaven Towers] Trailing newline in error line.",
);

# TEST
like(
$trap->stdout(),

# qr#\AWrong.*\n\z#,
qr#Wrong#ms,
"[Freecell mode trying to verify Seahaven Towers] stdout says it is wrong.",
);
}

0 comments on commit 2c613ce

Please sign in to comment.