~ubuntu-branches/ubuntu/trusty/libtext-markdown-perl/trusty

« back to all changes in this revision

Viewing changes to t/code-hr.t

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2008-07-24 21:06:58 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080724210658-kbpqulb200ddijqe
Tags: 1.0.21-1
* New upstream release.
  + Update pod_name patch accordingly
* Install Todo as documentation
* Refresh debian/rules for debhelper 7
* Add myself to Uploaders.
* debian/control: Use dist-based URL for Homepage field
* Update debian/copyright:
  + Adopt to current proposed format
  + Replace "Copyright" and "(C)" by "©"
  + Include full license text as the version in
    /usr/share/common-licenses/BSD refers to the University as copyright
    holder
  + Move pointer to GPL and Artistic license to the right section

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings;
 
3
use Text::Markdown 'markdown';
 
4
use Test::More tests => 1;
 
5
 
 
6
my $txt =  markdown(<<'END_MARKDOWN', { tab_width => 2 });
 
7
This is a para.
 
8
 
 
9
  This is code.
 
10
  ---
 
11
  This is code.
 
12
 
 
13
This is a para.
 
14
END_MARKDOWN
 
15
 
 
16
unlike($txt, qr{<hr}, "no HR elements when the hr is in a code block");