in reply to Re^2: Unit test failing but "got" and "expected" are equal
in thread Unit test failing but "got" and "expected" are equal
qr/^hello, world!/
You might also consider qr/^hello, world!\s*\z/ since \x0f is a member of the \s set and the quoted regex allows anything at the end of the string. No! I was thinking of \f (form feed) and not of \x0f ... never mind ...
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Unit test failing but "got" and "expected" are equal
by stevieb (Canon) on Jan 04, 2019 at 21:08 UTC | |
by kschwab (Vicar) on Jan 05, 2019 at 05:06 UTC |