Skip Menu |

This queue is for tickets about the Test-LongString CPAN distribution.

Report information
The Basics
Id: 14018
Status: resolved
Priority: 0/
Queue: Test-LongString

People
Owner: Nobody in particular
Requestors: claco [...] chrislaco.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: IgnoreWhitespace option
It would be nice if there were an option for is_string (or something in use/import like "controlling output") that allowed the checks to ignore whitespace. In Handel, I test the output of AxKit/TT2 pages to expected output; ala long string compares. Sometimes it's necessary to strip all white space so things like carriage returns and extra spaces get ignore in xml output. This is even more true when the server processer strips all white space from the output sent to the browser, but the string we're checking against has tabs/line feeds/spaces in its content for readability sake. Just a thought.
I added a function is_string_nows() in 0.09.