Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Test output diff ?

by Athanasius (Archbishop)
on Apr 14, 2020 at 15:11 UTC ( [id://11115526]=note: print w/replies, xml ) Need Help??


in reply to Test output diff ? [SOLVED]

Hello 1nickt,

The only difference I can see between the “got” and the “expected” is that the former is missing a comma at the end of the third line.

(If that doesn’t solve the problem, you will need to show the contents of import-via-class-function.pl.)

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Test output diff ?
by 1nickt (Canon) on Apr 14, 2020 at 15:21 UTC

    Gosh, could it be that? Thank you for looking! I'm on a work computer now so cannot check, but I *think* that is a pasting typo.

    ... hm I will *have* to check, back in a bit :-)

    Thank you!


    Bless you a thousand time, brother Athanasius!

    I just could not see the lack of the trailing comma; my eyes had been looking at the (correct) test output for hours. Once you pointed it out (geez, I should have diffed :-/), I quickly figured it out.

    From the Data::Dumper Changes file:

    2.160 (Jul 3 2016)
    ...
        Add Trailingcomma option. This is as suggested in RT#126813.
    

    So I updated my Makefile to specify the Data::Dumper minimum version, and all tests pass on old perls.

    Thanks again!


    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-19 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found