# supernovus/temporal-utils

Optimized tests for panda, commented out debug stuff.

1 parent d138273 commit 9b8924cf3da4d49b77fb0b219a9ee085cd57785c Timothy Totten committed Oct 19, 2012
Showing with 6 additions and 6 deletions.
1. +2 −2 lib/DateTime/Math.pm6
2. +1 −1 t/DateTime-iso-offset.t
3. +1 −1 t/DateTime-math.t
4. +1 −1 t/DateTime-rfc2822.t
5. +1 −1 t/DateTime-strftime.t
4 lib/DateTime/Math.pm6
 @@ -73,7 +73,7 @@ sub duration-from-to( Numeric \$value, DurationUnits \$in, DurationUnits \$to) } multi infix:<+>(DateTime:D \$dt, Numeric:D \$x) is export { - \$*ERR.say: "We're in the proper addition routine."; +# \$*ERR.say: "We're in the proper addition routine."; DateTime.new((\$dt.posix + \$x).Int, :timezone(\$dt.timezone), :formatter(\$dt.formatter)) } @@ -82,7 +82,7 @@ multi infix:<+>(Numeric:D \$x, DateTime:D \$dt) is export { } multi infix:«-»(DateTime:D \$dt, Numeric:D \$x) is export { - \$*ERR.say: "We're in the proper substraction routine."; +# \$*ERR.say: "We're in the proper substraction routine."; DateTime.new((\$dt.posix - \$x).Int, :timezone(\$dt.timezone), :formatter(\$dt.formatter)) }
2 t/DateTime-iso-offset.t
 @@ -1,7 +1,7 @@ use v6; use Test; -BEGIN { @*INC.unshift: 'lib' } +#BEGIN { @*INC.unshift: 'lib' } use DateTime::Utils;
2 t/DateTime-math.t
 @@ -1,6 +1,6 @@ use v6; -BEGIN { @*INC.unshift: 'lib' } +#BEGIN { @*INC.unshift: 'lib' } use Test; use DateTime::Math;
2 t/DateTime-rfc2822.t
 @@ -1,7 +1,7 @@ use v6; use Test; -BEGIN { @*INC.unshift: 'lib' } +#BEGIN { @*INC.unshift: 'lib' } plan 1;
2 t/DateTime-strftime.t
 @@ -1,7 +1,7 @@ use v6; use Test; -BEGIN { @*INC.unshift: 'lib' } +#BEGIN { @*INC.unshift: 'lib' } plan 2;