tokuhirom/OrePAN2 — pull request #3 by shoichikaji (2013-07-03 16:49:00+00:00)
Title: t/02_no_index.t failed

```
% ./Build test
t/00_compile.t ... ok
t/01_indexer.t ... ok
t/02_no_index.t .. 1/?
# Failed test at t/02_no_index.t line 28.
# 'File: 02packages.details.txt
# URL: http://www.perl.com/CPAN/modules/02packages.details.txt
# Description: DarkPAN
# Columns: package name, version, path
# Intended-For: Automated fetch routines, namespace documentation.
# Written-By: OrePAN2 0.05
# Line-Count: 2
# Last-Updated: Thu Jul 4 01:46:09 2013
#
# Acme::Foo 0.01 D/DU/DUMMY/Acme-Foo-0.01.tar.gz
# gaaa::foo undef D/DU/DUMMY/Acme-Foo-0.01.tar.gz
# '
# matches '(?^:gaaa::foo)'
# Looks like you failed 1 test of 2.
t/02_no_index.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/cli/indexer.t .. ok
xt/inject-git.t .. 1/? Already on 'master'
xt/inject-git.t .. ok

Test Summary Report
-------------------
t/02_no_index.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=5, Tests=10, 5 wallclock secs ( 0.04 usr 0.02 sys + 1.23 cusr 0.29 csys = 1.58 CPU)
Result: FAIL
Failed 1/5 test programs. 1/10 subtests failed.
```
This patch try to fix this.