GithubHelp home page GithubHelp logo

config-env's People

Contributors

akiym avatar anatofuz avatar cho45 avatar issm avatar karupanerura avatar kga avatar songmu avatar ysasaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

config-env's Issues

t/05_load.t fails with non-English locale

With a non-English locale (e.g. LC_ALL=de_DE.UTF-8 and an older perl (< 5.22) the test suite fails:

#   Failed test 'L12: like exception { load('unknown_file') }, qr{No such file or directory};'
#   at t/05_load.t line 12.
#                   'Datei oder Verzeichnis nicht gefunden at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Fatal.pm line 129.
# '
#     doesn't match '(?^:No such file or directory)'
# Looks like you failed 1 test of 15.
t/05_load.t ..... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests 

. removed from @INC

In perl 5.26 the dot was removed from @inc. This is causing the test suite to fail:

do "t/data/parse_error.pl" failed, '.' is no longer in @INC; did you mean do "./t/data/parse_error.pl"? at /home/cpansand/.cpan/build/2017051306/Config-ENV-0.14-0/blib/lib/Config/ENV.pm line 62.

#   Failed test 'L11: like exception { load('t/data/parse_error.pl') }, qr{syntax error at t/data/parse_error.pl line 2, near ";;"};'
#   at t/05_load.t line 11.
#                   ' at /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0/Test/Fatal.pm line 129.
# '
#     doesn't match '(?^:syntax error at t/data/parse_error.pl line 2, near ";;")'
... (etc.) ...

The possible fix is already mentioned in the error message.

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.