Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Unit test failing but "got" and "expected" are equal

by AnomalousMonk (Bishop)
on Jan 04, 2019 at 20:36 UTC ( #1228049=note: print w/replies, xml ) Need Help??


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

    Don't feel bad, at first, I was thinking the same thing :)

    Because I just reloaded all of my Pi devices from scratch, I'm unsure if this is an "issue" with the config of the serial device on-board or not quite yet. All I know is that after I built my PCB hard-soldered test platform with all my ICs and sensors I'm testing, but before the OS upgrade, it worked without hiccup.

    No software changes to the serial code on my end (or my underlying C code), so I'm thinking it has to be how the device is configured hardware-wise.

      It's an ascii NAK (negative acknowledge).
      Maybe set hardware flow control, or slower baud rate? Or perhaps NAK means something special in WiringPI?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-06-29 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (96 votes). Check out past polls.

    Notices?