Skip Menu |
 

This queue is for tickets about the Text-FrontMatter-YAML CPAN distribution.

Report information
The Basics
Id: 95548
Status: resolved
Priority: 0/
Queue: Text-FrontMatter-YAML

People
Owner: vitahall [...] cpan.org
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: 0.07



Subject: t/20-basic-init-from-sections.t fails sometimes
Download (untitled) / with headers
text/plain 920b
# Failed test 'document_string returned joined document' # at t/20-basic-init-from-sections.t line 46. # got: '--- # author: 'Abraham Lincoln' # date: 18631119 # title: 'The first sentence of the "Gettysburg Address"' # --- # Four score and seven years ago our fathers brought forth on this continent # a new nation, conceived in liberty, and dedicated to the proposition that # all men are created equal. # ' # expected: '--- # author: 'Abraham Lincoln' # date: 18631119 # title: "The first sentence of the \"Gettysburg Address\"" # --- # Four score and seven years ago our fathers brought forth on this continent # a new nation, conceived in liberty, and dedicated to the proposition that # all men are created equal. # ' # Looks like you failed 1 test of 4. t/20-basic-init-from-sections.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests -- Alexandr Ciornii, http://chorny.net
Download (untitled) / with headers
text/plain 315b
This appears to be triggered by a change in YAML::Tiny 1.62 or thereabouts. It's quoting the returned YAML differently. I haven't had the chance to dig much further, but it seems like the test just needs to be changed in some way in respose. I'll update the ticket when I know more. Thanks for the report. - Aaron
Download (untitled) / with headers
text/plain 299b
I've updated the test to work with YAML::Tiny 1.57 and later, which change the quoting style for quoted strings. Try out the fixed version at <https://github.com/vitahall/Text-FrontMatter-YAML>, if you would. I'll give it a couple days of use in my stuff, and then I'll release it to CPAN. - Aaron
Download (untitled) / with headers
text/plain 315b
On Wed May 28 00:27:45 2014, VITAHALL wrote: Show quoted text
> I've updated the test to work with YAML::Tiny 1.57 and later, which > change the quoting style for quoted strings. Try out the fixed version > at <https://github.com/vitahall/Text-FrontMatter-YAML>, if you would.
tests pass. -- Alexandr Ciornii, http://chorny.net
Download (untitled) / with headers
text/plain 112b
Text::FrontMatter::YAML 0.07 has been uploaded to CPAN and fixes this bug. Thanks again for the report. - Aaron


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.