Permalink
Browse files

version++

  • Loading branch information...
1 parent 66bfa19 commit f51dcf57f75f102710e1f93cf51b7394f1b14000 @sekimura committed Jan 2, 2012
Showing with 27 additions and 4 deletions.
  1. +5 −0 Changes
  2. +1 −2 MANIFEST
  3. +0 −1 Makefile.PL
  4. +1 −1 lib/Text/Markdown/Discount.pm
  5. +20 −0 t/10.empty_or_all_newlines_input.t
View
@@ -1,5 +1,10 @@
Revision history for Perl extension Text::Markdown::XS.
+0.02 Sun Jan 1 22:13:42 PST 2012
+ - upgraded discount to 2.1.2 (RT:66012)
+ - use "CC='cc -fPIC'" as running configure.sh on discount workdir
+ - added test for empty or spaces input (RT:73657)
+
0.01 Mon Oct 19 15:03:25 PDT 2009
- first version with discount-1.3.4
View
@@ -63,9 +63,7 @@ discount-2.1.2/version.c
discount-2.1.2/version.c.in
discount-2.1.2/xml.c
discount-2.1.2/xmlpage.c
-Discount.bs
Discount.c
-Discount.o
Discount.xs
INSTALL.Discount
lib/Text/Markdown/Discount.pm
@@ -74,6 +72,7 @@ MANIFEST
ppport.h
README
t/00.load.t
+t/10.empty_or_all_newlines_input.t
xt/index.text
xt/MarkdownTest_1.0.3.t
xt/MarkdownTest_1.0.3/MarkdownTest.pl
View
@@ -22,7 +22,6 @@ my $clean_files = join (" ",
generate.o
main.o
markdown
- markdown.1
markdown.o
mkd2html.o
mkdio.o
@@ -25,7 +25,7 @@ our @EXPORT = qw(
);
-our $VERSION = '0.01';
+our $VERSION = '0.02';
require XSLoader;
XSLoader::load('Text::Markdown::Discount', $VERSION);
@@ -0,0 +1,20 @@
+use Test::More tests => 2;
+use Text::Markdown::Discount;
+
+# https://rt.cpan.org/Ticket/Display.html?id=73657
+
+{
+ local $@;
+ eval {
+ Text::Markdown::Discount::markdown("");
+ };
+ is($@, '');
+}
+{
+ local $@;
+ eval {
+ Text::Markdown::Discount::markdown("\n\n\n\n");
+ };
+ is($@, '');
+}
+

0 comments on commit f51dcf5

Please sign in to comment.