Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* added sleep 1 to tickle and bugs not exposed in the case of the script

  running in entirety before the second rolls over


git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@433 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
commit 74c8840c25203441fd53f7161c6e8a6a7614651f 1 parent aa151fe
@abw authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 t/date.t
View
7 t/date.t
@@ -61,6 +61,13 @@ my $params = {
date_calc => $got_date_calc,
};
+# force second to rollover so that we reliably see any tests failing.
+# lesson learnt from 2.07b where I broke the Date plugin's handling of a
+# 'time' parameter, but which didn't immediately come to light because the
+# script could run before the second rolled over and not expose the bug
+
+sleep 1;
+
test_expect(\*DATA, { POST_CHOMP => 1 }, $params);
Please sign in to comment.
Something went wrong with that request. Please try again.