miyagawa/test-synopsis — pull request #6 by zoffixznet (2014-02-04 01:20:27+00:00)
Title: Fixes the problem when SYNOPSIS contains __END__

This fixes the issue with `__END__` present in SYNOPSIS and provides the corresponding tests.

The problem is when the SYNOPSIS code contains __END__, e.g. this:

```perl
=head1 SYNOPSIS

print "BLAH!";

__END__

=head1 DESCRIPTION
```
The test dies with:
```
# Failed test 'lib/WWW/Lipsum.pm'
# at /home/zoffix/perl5/lib/perl5/Test/Synopsis.pm line 18.
# Missing right curly or square bracket at lib/WWW/Lipsum.pm line 119, at end of line
# syntax error at lib/WWW/Lipsum.pm line 119, at EOF
# Looks like you failed 1 test of 1.
```