Back
From: metabase:user:7298ebcc-b357-11e4-8d18-8eca7e4756b9
Subject: FAIL Mojolicious-Plugin-Message-Locale-0.03 v5.16.3 GNU/Linux
Date: 2016-04-22T06:03:45Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear SASAKURE,
This is a computer-generated report for Mojolicious-Plugin-Message-Locale-0.03
on perl 5.16.3, created by App::cpanminus::reporter 0.12 (1.7027).
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '':
Building and testing Mojolicious-Plugin-Message-Locale-0.03
cp lib/Mojolicious/Plugin/Message/Locale.pm blib/lib/Mojolicious/Plugin/Message/Locale.pm
Manifying blib/man3/Mojolicious::Plugin::Message::Locale.3
PERL_DL_NONLAZY=1 /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000_use.t .............. ok
# Failed test '200 OK'
# at t/001_message_locale.t line 25.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/001_message_locale.t line 25.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/001_message_locale.t line 12.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">7</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">8</td>
# <td class="value wide">
# <pre><code class="prettyprint">plugin 'Message::Locale';</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">9</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">10</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_common' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">11</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_original' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/001_message_locale.t:12</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/001_message_locale.t:25</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_common</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:52466</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:52466</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>001_message_locale</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/001_message_locale.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28136</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:35 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'MESSAGE'
# Failed test '200 OK'
# at t/001_message_locale.t line 26.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/001_message_locale.t line 26.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/001_message_locale.t line 16.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">11</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_original' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/set_locale_method' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">19</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">20</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->set_locale('ja');</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">21</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/001_message_locale.t:16</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/001_message_locale.t:26</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_original</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:52466</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:52466</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>001_message_locale</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/001_message_locale.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28136</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:35 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'ORIGINAL MESSAGE'
# Failed test '200 OK'
# at t/001_message_locale.t line 27.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/001_message_locale.t line 27.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/001_message_locale.t line 21.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/set_locale_method' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">19</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">20</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->set_locale('ja');</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">21</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">22</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">23</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">24</td>
# <td class="value wide">
# <pre><code class="prettyprint">my $t = Test::Mojo->new;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">25</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_common')->status_is(200)->content_is('MESSAGE');</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">26</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_original')->status_is(200)->content_is('ORIGINAL MESSAGE');</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/001_message_locale.t:21</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/001_message_locale.t:27</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/set_locale_method</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:52466</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:52466</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>001_message_locale</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/001_message_locale.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28136</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:35 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'ã¡ãã»ã¼ã¸'
# Looks like you failed 6 tests of 9.
t/001_message_locale.t ...
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/9 subtests
# Failed test '200 OK'
# at t/002_locale_is_ja.t line 21.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/002_locale_is_ja.t line 21.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/002_locale_is_ja.t line 13.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">8</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">9</td>
# <td class="value wide">
# <pre><code class="prettyprint">plugin 'Message::Locale', locale => 'ja';</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">10</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">11</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_common' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_original' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/002_locale_is_ja.t:13</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/002_locale_is_ja.t:21</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_common</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:60161</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:60161</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>002_locale_is_ja</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/002_locale_is_ja.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28140</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:36 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'ã¡ãã»ã¼ã¸'
# Failed test '200 OK'
# at t/002_locale_is_ja.t line 22.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/002_locale_is_ja.t line 22.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/002_locale_is_ja.t line 17.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_original' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">19</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">20</td>
# <td class="value wide">
# <pre><code class="prettyprint">my $t = Test::Mojo->new;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">21</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_common')->status_is(200)->content_is('ã¡ãã»ã¼ã¸');</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">22</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_original')->status_is(200)->content_is('ãªãªã¸ãã«');</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/002_locale_is_ja.t:17</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/002_locale_is_ja.t:22</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_original</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:60161</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:60161</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>002_locale_is_ja</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/002_locale_is_ja.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28140</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:36 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'ãªãªã¸ãã«'
# Looks like you failed 4 tests of 6.
t/002_locale_is_ja.t .....
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
# Failed test '200 OK'
# at t/003_locale_file.t line 21.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/003_locale_file.t line 21.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/003_locale_file.t line 13.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">8</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">9</td>
# <td class="value wide">
# <pre><code class="prettyprint">plugin 'Message::Locale', file => 'other_locale.conf';</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">10</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">11</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_common' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_original' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/003_locale_file.t:13</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/003_locale_file.t:21</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_common</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:52700</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "OTHER MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "OTHER TITLE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "OTHER ORIGINAL MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6}\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:52700</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "OTHER MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "OTHER TITLE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "OTHER ORIGINAL MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6}\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>003_locale_file</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/003_locale_file.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28161</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:36 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'OTHER MESSAGE'
# Failed test '200 OK'
# at t/003_locale_file.t line 22.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/003_locale_file.t line 22.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/003_locale_file.t line 17.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_original' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('message', 'original') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">19</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">20</td>
# <td class="value wide">
# <pre><code class="prettyprint">my $t = Test::Mojo->new;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">21</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_common')->status_is(200)->content_is('OTHER MESSAGE');</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">22</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_original')->status_is(200)->content_is('OTHER ORIGINAL MESSAGE');</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/003_locale_file.t:17</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/003_locale_file.t:22</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_original</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:52700</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "OTHER MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "OTHER TITLE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "OTHER ORIGINAL MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6}\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:52700</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "OTHER MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "OTHER TITLE",
# "ja" => "\x{305d}\x{306e}\x{4ed6} \x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "OTHER ORIGINAL MESSAGE",
# "ja" => "\x{305d}\x{306e}\x{4ed6}\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>003_locale_file</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/003_locale_file.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28161</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:36 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: 'OTHER ORIGINAL MESSAGE'
# Looks like you failed 4 tests of 6.
t/003_locale_file.t ......
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
# Failed test '200 OK'
# at t/004_default_message.t line 21.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/004_default_message.t line 21.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/004_default_message.t line 12.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">7</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">8</td>
# <td class="value wide">
# <pre><code class="prettyprint">plugin 'Message::Locale', default_message => '-----';</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">9</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">10</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_empty' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">11</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale() );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_sasakure' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('sasakure', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/004_default_message.t:12</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/004_default_message.t:21</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/004_default_message.t:22</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_empty</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:35615</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:35615</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>004_default_message</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/004_default_message.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28176</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:37 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: '-----'
# Failed test at t/004_default_message.t line 22.
# found warning: key is undefined or incorrenct. at /home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib/Mojolicious/Plugin/Message/Locale.pm line 23.
# found warning: Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# expected to find warning: (?^:^key is undefined or incorrenct. at )
# Failed test '200 OK'
# at t/004_default_message.t line 23.
# got: '500'
# expected: '200'
# Failed test 'exact match for content'
# at t/004_default_message.t line 23.
Wide character in print at /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Test/Builder.pm line 1826.
# got: '<!DOCTYPE html>
# <html>
# <head>
# <title>Server error (development mode)</title>
# <meta http-equiv="Pragma" content="no-cache">
# <meta http-equiv="Expires" content="-1">
# <script src="/mojo/jquery/jquery.js"></script>
# <script src="/mojo/prettify/run_prettify.js"></script>
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet">
# <style>
# a img { border: 0 }
# body {
# background: url(/mojo/pinstripe-light.png);
# color: #445555;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: normal;
# line-height: 1.5em;
# margin: 0;
# }
# :not(pre) > code {
# background-color: #eef9ff;
# border: solid #cce4ff 1px;
# border-radius: 5px;
# color: #333;
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# padding: 0.4em;
# }
# h1 {
# color: #2a2a2a;
# font-size: 1.5em;
# margin: 0;
# }
# pre {
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
# margin: 0;
# white-space: pre-wrap;
# }
# pre > code {
# display: block;
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace;
# margin-bottom: 0.7em;
# margin-top: 0.7em;
# }
# table {
# border-collapse: collapse;
# width: 100%;
# }
# td { padding: 0.5em }
# .box {
# background-color: #fff;
# border: 1px solid #c1c1c1;
# overflow: hidden;
# padding: 1em;
# }
# .code {
# background-color: #1a1a1a;
# background: url(/mojo/pinstripe-dark.png);
# color: #eee;
# text-shadow: #333 0 1px 0;
# }
# .important { background-color: rgba(47, 48, 50, .75) }
# .infobox { color: #333 }
# .infobox tr:nth-child(odd) .value { background-color: #ddeeff }
# .infobox tr:nth-child(even) .value { background-color: #eef9ff }
# .key { text-align: right }
# .more table { margin-bottom: 1em }
# .spaced {
# margin-left: 5em;
# margin-right: 5em;
# }
# .striped { border-top: solid #cce4ff 1px }
# .tap {
# font: 0.5em Verdana, sans-serif;
# text-align: center;
# }
# .value { padding-left: 1em }
# .wide { width: 100% }
# #error {
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif;
# font-weight: 300;
# margin: 0;
# text-shadow: #333 0 1px 0;
# }
# #footer {
# padding-top: 1em;
# text-align: center;
# }
# #nothing {
# border-bottom: 0;
# padding-top: 60px;
# }
# #showcase {
# border-bottom: 0;
# border-top: 0;
# }
# #showcase table { margin-top: 1em }
# #showcase td {
# padding-top: 0;
# padding-bottom: 0;
# }
# #showcase .key { padding-right: 0 }
# #log {
# border-radius: 5px;
# margin-top: 1em;
# }
# #log table { margin: 0 }
# #more, #trace {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# }
# #more .tap, #trace .tap { text-shadow: #ddd 0 1px 0 }
# #request {
# border-bottom: 0;
# border-top-left-radius: 5px;
# border-top-right-radius: 5px;
# margin-top: 1em;
# }
# #routes {
# border-bottom-left-radius: 5px;
# border-bottom-right-radius: 5px;
# padding-top: 70px;
# }
# #trace { border-top: 0 }
# #wrapperlicious {
# max-width: 1000px;
# margin: 0 auto;
# }
# </style>
# </head>
# <body>
# <script src="/mojo/jquery/jquery.js"></script>
# <div id="mojobar">
# <style scoped="scoped">
# #mojobar {
# background-color: #1a1a1a;
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
# background: linear-gradient(top, #2a2a2a 0%, #000 100%);
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
# height: 46px;
# overflow: hidden;
# position: absolute;
# text-align: right;
# vertical-align: middle;
# width: 100%;
# z-index: 1000;
# }
# #mojobar-content {
# margin: 0 auto;
# max-width: 1000px;
# }
# #mojobar-logo {
# float: left;
# margin-left: 5em;
# padding-top: 4px;
# }
# #mojobar-links {
# display:table-cell;
# float: right;
# height: 60px;
# margin-right: 5em;
# margin-top: 0.8em;
# }
# #mojobar-links a {
# color: #bbb;
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
# margin-left: 0.5em;
# text-decoration: none;
# transition: all 200ms ease-in-out;
# }
# #mojobar-links a:hover { color: #fff }
# #mojobar-links input {
# background-color: #3a3a3a;
# border: 1px solid rgba(0, 0, 0, 0.1);
# border-radius: 3px;
# color: #eee;
# display: inline;
# margin-left: 1em;
# padding: 4px;
# transition: all 0.15s;
# }
# #mojobar-links input:focus {
# background-color: #fff;
# color: #111;
# outline: 0;
# }
# #mojobar-links form { display: inline }
# .animated { transition: all 0.25s ease }
# </style>
# <div id="mojobar-content">
# <div id="mojobar-logo">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-white.png">
# </a> </div>
# <div id="mojobar-links">
# <a href="http://mojolicious.org/perldoc">Documentation</a>
# <a href="https://github.com/kraih/mojo/wiki">Wiki</a>
# <a href="https://github.com/kraih/mojo">GitHub</a>
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a>
# <a href="https://groups.google.com/group/mojolicious">MailingList</a>
# <a href="http://blog.kraih.com">Blog</a>
# <a href="https://twitter.com/kraih">Twitter</a>
# <form action="https://www.google.com/cse" target="_blank">
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi">
# <input name="ie" type="hidden" value="UTF-8">
# <input name="q" placeholder="Search" type="search">
# </form>
# </div>
# </div>
# </div>
# <script>
# var mojobar = $('#mojobar');
# var mojobarHeight = mojobar.outerHeight();
# function getElementByHash(hash) {
# return $(hash.replace(/(:|\.|\[|\]|,)/g, '\\$1'));
# }
# function fixOffset() {
# var offset = getElementByHash(window.location.hash).offset();
# if (offset) {
# $('html, body').animate({scrollTop: offset.top - mojobarHeight}, 1);
# }
# }
# $(window).load(function () {
# if (window.location.hash) {
# fixOffset();
# }
# var start = mojobar.offset().top;
# var fixed;
# var lastScrollTop = start;
# var hidden = mojobarHeight + 1;
# $(window).scroll(function () {
# var st = $(window).scrollTop();
# if (fixed) {
# if (st <= start) {
# fixed = false;
# mojobar.removeClass('animated');
# mojobar.css({'position': 'absolute', 'top': start + 'px'});
# }
# else if (Math.abs(lastScrollTop - st) > 100) {
# if (!mojobar.hasClass('animated')) {
# mojobar.addClass('animated');
# }
# if (st > lastScrollTop && st > (mojobarHeight + start + 250)) {
# mojobar.css('transform', 'translateY(-' + hidden + 'px)');
# }
# else if (st < lastScrollTop) {
# mojobar.css('transform', 'translateY(0px)');
# }
# lastScrollTop = st;
# }
# }
# else if (st > start) {
# fixed = true;
# mojobar.css({'position': 'fixed', 'top': 0});
# }
# });
# });
# $(document).ready(function () {
# $('a[href^="#"]').addClass('âmojoscroll').click(function (e) {
# e.preventDefault();
# e.stopPropagation();
# var hash = '#' + this.href.split('#')[1];
# var target = getElementByHash(hash);
# var old = target.attr('id');
# target.attr('id', '');
# location.hash = hash;
# target.attr('id', old);
# fixOffset();
# });
# });
# </script>
#
# <script>
# function mojoDrawer (handle, drawer) {
# $(handle).click(function () {
# $(drawer).slideToggle('slow');
# var text = $(handle + ' div.tap').text();
# text = text == "tap for more" ? "tap for less" : "tap for more";
# $(handle + ' div.tap').text(text);
# });
# $(drawer).toggle();
# }
# $(document).ready(function () {
# mojoDrawer('#trace', '#frames');
# mojoDrawer('#more', '#infos');
# });
# </script>
# <div id="wrapperlicious">
# <div id="nothing" class="box spaced"></div>
# <div id="showcase" class="box code spaced">
# <pre id="error">Can't locate object method "render_text" via package "Mojolicious::Controller" at t/004_default_message.t line 16.
# </pre>
# <div id="context" class="more">
# <table>
# <tr>
# <td class="key">11</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">12</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale() );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">13</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">14</td>
# <td class="value wide">
# <pre><code class="prettyprint">get '/message_from_sasakure' => sub {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">15</td>
# <td class="value wide">
# <pre><code class="prettyprint"> my $self = shift;</code></pre>
# </td>
# </tr>
# <tr class="important">
# <td class="key">16</td>
# <td class="value wide">
# <pre><code class="prettyprint"> $self->render_text( $self->locale('sasakure', 'common') );</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">17</td>
# <td class="value wide">
# <pre><code class="prettyprint">};</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">18</td>
# <td class="value wide">
# <pre><code class="prettyprint"></code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">19</td>
# <td class="value wide">
# <pre><code class="prettyprint">my $t = Test::Mojo->new;</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">20</td>
# <td class="value wide">
# <pre><code class="prettyprint">warning_like {</code></pre>
# </td>
# </tr>
# <tr>
# <td class="key">21</td>
# <td class="value wide">
# <pre><code class="prettyprint">$t->get_ok('/message_from_empty')->status_is(200)->content_is('-----');</code></pre>
# </td>
# </tr>
# </table>
# </div>
# </div>
# <div id="trace" class="box spaced">
# <div id="frames" class="infobox more">
# <table>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/Carp.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Controller.pm:31</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/004_default_message.t:16</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:119</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:93</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:100</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:35</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Routes.pm:44</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:110</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:190</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious/Plugins.pm:18</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojolicious.pm:126</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server.pm:68</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:94</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Transaction/HTTP.pm:61</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:211</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Server/Daemon.pm:192</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/EventEmitter.pm:15</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:97</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop/Stream.pm:48</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:143</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:58</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/Reactor/Poll.pm:99</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/IOLoop.pm:134</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Mojo/UserAgent.pm:60</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:372</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:321</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/Test/Mojo.pm:120</pre>
# </td>
# </tr>
# <tr>
# <td class="striped value wide">
# <pre>t/004_default_message.t:23</pre>
# </td>
# </tr>
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# <div id="request" class="box infobox spaced">
# <table>
# <tr>
# <td class="key">Method:</td>
# <td class="striped value wide"><pre>GET</pre></td>
# </tr>
#
# <tr>
# <td class="key">URL:</td>
# <td class="striped value wide"><pre>/message_from_sasakure</pre></td>
# </tr>
#
# <tr>
# <td class="key">Base URL:</td>
# <td class="striped value wide"><pre>http://127.0.0.1:35615</pre></td>
# </tr>
#
# <tr>
# <td class="key">Parameters:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Stash:</td>
# <td class="striped value wide"><pre>{
# "cb" => sub { "DUMMY" },
# "config" => {
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "sasakure" => {},
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Session:</td>
# <td class="striped value wide"><pre>{}
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Version:</td>
# <td class="striped value wide"><pre>1.1</pre></td>
# </tr>
#
# <tr>
# <td class="key">Accept-Encoding:</td>
# <td class="striped value wide"><pre>gzip</pre></td>
# </tr>
#
# <tr>
# <td class="key">Content-Length:</td>
# <td class="striped value wide"><pre>0</pre></td>
# </tr>
#
# <tr>
# <td class="key">Host:</td>
# <td class="striped value wide"><pre>127.0.0.1:35615</pre></td>
# </tr>
#
# <tr>
# <td class="key">User-Agent:</td>
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td>
# </tr>
#
# </table>
# </div>
# <div id="more" class="box infobox more spaced">
# <div id="infos">
# <table>
# <tr>
# <td class="key">Perl:</td>
# <td class="striped value wide"><pre>v5.16.3 (linux)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Mojolicious:</td>
# <td class="striped value wide"><pre>6.45 (Clinking Beer Mugs)</pre></td>
# </tr>
#
# <tr>
# <td class="key">Home:</td>
# <td class="striped value wide"><pre>/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Template paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/templates"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Template classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static paths:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/t/public"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Static classes:</td>
# <td class="striped value wide"><pre>[
# "main"
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Include:</td>
# <td class="striped value wide"><pre>[
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/lib",
# "/home/mojolicious/.cpanm/work/1461305000.27509/Mojolicious-Plugin-Message-Locale-0.03/blib/arch",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/tmp/MlacchB4ui/lib/perl5/x86_64-linux",
# "/tmp/MlacchB4ui/lib/perl5",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5/x86_64-linux",
# "/home/mojolicious/mojolib/5.16.3/6.45/lib/perl5",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux",
# "/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3",
# "."
# ]
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Config:</td>
# <td class="striped value wide"><pre>{
# "common" => {
# "message" => {
# "en" => "MESSAGE",
# "ja" => "\x{30e1}\x{30c3}\x{30bb}\x{30fc}\x{30b8}"
# },
# "sasakure" => {},
# "title" => {
# "en" => "TITLE",
# "ja" => "\x{30bf}\x{30a4}\x{30c8}\x{30eb}"
# }
# },
# "original" => {
# "message" => {
# "en" => "ORIGINAL MESSAGE",
# "ja" => "\x{30aa}\x{30ea}\x{30b8}\x{30ca}\x{30eb}"
# }
# }
# }
# </pre></td>
# </tr>
#
# <tr>
# <td class="key">Moniker:</td>
# <td class="striped value wide"><pre>004_default_message</pre></td>
# </tr>
#
# <tr>
# <td class="key">Name:</td>
# <td class="striped value wide"><pre>t/004_default_message.t</pre></td>
# </tr>
#
# <tr>
# <td class="key">Executable:</td>
# <td class="striped value wide"><pre>/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl</pre></td>
# </tr>
#
# <tr>
# <td class="key">PID:</td>
# <td class="striped value wide"><pre>28176</pre></td>
# </tr>
#
# <tr>
# <td class="key">Time:</td>
# <td class="striped value wide"><pre>Fri Apr 22 08:03:37 2016</pre></td>
# </tr>
#
# </table>
# </div>
# <div class="tap">tap for more</div>
# </div>
# </div>
# <div id="footer">
# <a href="http://mojolicious.org">
# <img alt="Mojolicious logo" src="/mojo/logo-black.png">
# </a> </div>
# </body>
# </html>
# '
# expected: '-----'
# Looks like you failed 5 tests of 7.
t/004_default_message.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/7 subtests
Test Summary Report
-------------------
t/001_message_locale.t (Wstat: 1536 Tests: 9 Failed: 6)
Failed tests: 2-3, 5-6, 8-9
Non-zero exit status: 6
t/002_locale_is_ja.t (Wstat: 1024 Tests: 6 Failed: 4)
Failed tests: 2-3, 5-6
Non-zero exit status: 4
t/003_locale_file.t (Wstat: 1024 Tests: 6 Failed: 4)
Failed tests: 2-3, 5-6
Non-zero exit status: 4
t/004_default_message.t (Wstat: 1280 Tests: 7 Failed: 5)
Failed tests: 2-4, 6-7
Non-zero exit status: 5
Files=5, Tests=29, 2 wallclock secs ( 0.05 usr 0.01 sys + 2.13 cusr 0.22 csys = 2.41 CPU)
Result: FAIL
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
runtime:
Module Need Have
------------------- ---- --------
! Mojolicious 3.56 n/a
Test::More 0 1.001014
! Test::Warn 0 n/a
build:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 6.63_02
configure:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 6.63_02
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
PATH = /home/mojolicious/perl5/perlbrew/bin:/home/mojolicious/perl5/perlbrew/perls/perl-5.20.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/mojolicious/mojolib/5.16.3/6.45/bin
PERLBREW_BASHRC_VERSION = 0.73
PERLBREW_HOME = /home/mojolicious/.perlbrew
PERLBREW_MANPATH = /home/mojolicious/perl5/perlbrew/perls/perl-5.20.1/man
PERLBREW_PATH = /home/mojolicious/perl5/perlbrew/bin:/home/mojolicious/perl5/perlbrew/perls/perl-5.20.1/bin
PERLBREW_PERL = perl-5.20.1
PERLBREW_ROOT = /home/mojolicious/perl5/perlbrew
PERLBREW_VERSION = 0.73
SHELL = /bin/bash
TERM = xterm
Perl special variables (and OS-specific diagnostics, for MSWin32):
EGID = 1003 1003
EUID = 1003
EXECUTABLE_NAME = /home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin/perl
GID = 1003 1003
UID = 1003
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 1.9800
CPAN::Meta 2.120630
Cwd 3.39_02
ExtUtils::CBuilder 0.280206
ExtUtils::Command 1.17
ExtUtils::Install 1.58
ExtUtils::MakeMaker 6.63_02
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.16
File::Spec 3.39_02
JSON 2.90
JSON::PP 2.27200
Module::Build 0.39_01
Module::Signature n/a
Parse::CPAN::Meta 1.4402
Test::Harness 3.23
Test::More 1.001014
YAML n/a
YAML::Syck n/a
version 0.99
--
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=linux, osvers=3.13.0-042stab094.8, archname=x86_64-linux
uname='linux lvps92-51-161-142.dedicated.hosteurope.de 3.13.0-042stab094.8 #1 smp tue dec 16 20:36:56 msk 2014 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3 -Aeval:scriptdir=/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Locally applied patches:
Devel::PatchPerl 1.30
Built under linux
Compiled at Feb 14 2015 11:53:05
%ENV:
PERLBREW_BASHRC_VERSION="0.73"
PERLBREW_HOME="/home/mojolicious/.perlbrew"
PERLBREW_MANPATH="/home/mojolicious/perl5/perlbrew/perls/perl-5.20.1/man"
PERLBREW_PATH="/home/mojolicious/perl5/perlbrew/bin:/home/mojolicious/perl5/perlbrew/perls/perl-5.20.1/bin"
PERLBREW_PERL="perl-5.20.1"
PERLBREW_ROOT="/home/mojolicious/perl5/perlbrew"
PERLBREW_VERSION="0.73"
@INC:
/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux
/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3
/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux
/home/mojolicious/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3
.