]> git.koha-community.org Git - koha.git/commit
Bug 14113: Silence t/Dates.t warnings and cleanup output.
authorMark Tompsett <mtompset@hotmail.com>
Fri, 1 May 2015 20:31:47 +0000 (16:31 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 1 Jun 2015 17:13:54 +0000 (14:13 -0300)
commit9c37d43102d7e6224e9207b4ed02cb7d7eca9291
tree20dd21bd8245599eeb4303474cd7edd566627b01
parent174b425c36416a2725da81345ccaf162c4f7f873
Bug 14113: Silence t/Dates.t warnings and cleanup output.

The expectation of a user not freaking out over 'Illegal date'
messages is not sensible. Catch the messages, give a nicer
message.

Also, compress the veritical spacing on the output.

TEST PLAN
---------
1) $ prove t/Dates.t
   -- notice Illegal date messages, and extra lines between
      some sectional messages.
2) Apply patch
3) $ prove t/Dates.t
   -- Notice how nice and clean it is?
      Try it with -v to see all the output, including the
      expected warning type messages.
4) run koha qa test tools.

Test Remarks : complies with test plan.
Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>a
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/Dates.t