Coder Social home page Coder Social logo

json-string's People

Contributors

brummett avatar

Watchers

 avatar  avatar  avatar

json-string's Issues

Test suite may fail (hash randomization?)

The test suite randomly fails for perl 5.18 and greater:

    #   Failed test 'change nested hash value'
    #   at t/recurse.t line 65.
    #          got: '[0,1,{"b":2,"a":"changed"}]'
    #     expected: '[0,1,{"a":"changed","b":2}]'

    #   Failed test 'change string value in array to hashref'
    #   at t/recurse.t line 70.
    #          got: '[{"new":"hash"},1,{"b":2,"a":"changed"}]'
    #     expected: '[{"new":"hash"},1,{"a":"changed","b":2}]'

    #   Failed test 'change newly added hash value'
    #   at t/recurse.t line 75.
    #          got: '[{"new":"changed hash value"},1,{"b":2,"a":"changed"}]'
    #     expected: '[{"new":"changed hash value"},1,{"a":"changed","b":2}]'
    # Looks like you failed 3 tests of 4.

#   Failed test 'array of hashes'
#   at t/recurse.t line 78.
# Looks like you failed 1 test of 4. 
t/recurse.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

This could be a hash randomization issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.