Giter Club home page Giter Club logo

catalystx-asp's People

Contributors

stvleung avatar

Watchers

 avatar  avatar

catalystx-asp's Issues

t/01-parser.t fails with iso8859-1 locale

If a iso8859-1 locale is set, then t/01-parser.t fails:

env LC_ALL=de_DE.iso88591 perl5.18.4 -Mblib t/01-parser.t 
1..14
ok 1 - Parsed $script ref, converted <%= %> to $Response->WriteRef
ok 2 - Parser detected perl code
ok 3 - Parsed file, converted <%= %> to $Response->WriteRef
ok 4 - Parser detected perl code
ok 5 - Parser saved name of file
Error in parsing: Can't use an undefined value as a SCALAR reference at /tmpfs/.cpan-build-cpansand/2016111909/CatalystX-ASP-1.06-0/blib/lib/CatalystX/ASP/Parser.pm line 110.

not ok 6 - Detached on parsing failure
#   Failed test 'Detached on parsing failure'
#   at t/01-parser.t line 42.
# expecting: Catalyst::Exception::Detach
# found: normal exit
ok 7 - Parsed $script ref, translated XMLSubs to perl function call
ok 8 - Parsed $script ref, translated complex XMLSubs with ASP within block
ok 9 - Parsed $script ref, translated XMLSubs with no content block within
ok 10 - Parsed $script ref, nested XMLSubs
ok 11 - Parsed $script ref, convert SSI to ASP $Response->Include
ok 12 - Parsed $script ref, convert SSI to ASP $Response->Include
ok 13 - Parsed $script ref, does nothing for plain HTML
ok 14 - Parser marked raw file
# Looks like you failed 1 test of 14.

I see this failure on debian/jessie with perl 5.18.4 and freebsd 10.1 with perl 5.18.4 and 5.24.0. On the freebsd system LC_ALL=de_DE.ISO8859-1 was used. There are no problems on the same systems with LC_ALL=C or LC_ALL=de_DE.UTF-8.

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.