From 8ba141154f663f2e46e6124396eca6d0443fdb37 Mon Sep 17 00:00:00 2001 From: Yuri Takhteyev Date: Wed, 20 Aug 2008 22:57:46 -0700 Subject: Changing string to unicode in Neale's fix. Adding test cases. --- tests/misc/autolinks_with_asterisks.html | 3 +++ tests/misc/autolinks_with_asterisks.txt | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 tests/misc/autolinks_with_asterisks.html create mode 100644 tests/misc/autolinks_with_asterisks.txt (limited to 'tests/misc') diff --git a/tests/misc/autolinks_with_asterisks.html b/tests/misc/autolinks_with_asterisks.html new file mode 100644 index 0000000..a7f2609 --- /dev/null +++ b/tests/misc/autolinks_with_asterisks.html @@ -0,0 +1,3 @@ +

+ http://some.site/weird*url*thing +

\ No newline at end of file diff --git a/tests/misc/autolinks_with_asterisks.txt b/tests/misc/autolinks_with_asterisks.txt new file mode 100644 index 0000000..24de5d9 --- /dev/null +++ b/tests/misc/autolinks_with_asterisks.txt @@ -0,0 +1,2 @@ + + -- cgit v1.2.3 From e71751f0eb7382dc876f2536d2ad5bfbe372e2f0 Mon Sep 17 00:00:00 2001 From: Yuri Takhteyev Date: Wed, 20 Aug 2008 23:02:30 -0700 Subject: Adding unicode tests for Neale's fix. (Those only pass after changing str to unicode.) --- tests/misc/autolinks_with_asterisks_russian.html | 3 +++ tests/misc/autolinks_with_asterisks_russian.txt | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 tests/misc/autolinks_with_asterisks_russian.html create mode 100644 tests/misc/autolinks_with_asterisks_russian.txt (limited to 'tests/misc') diff --git a/tests/misc/autolinks_with_asterisks_russian.html b/tests/misc/autolinks_with_asterisks_russian.html new file mode 100644 index 0000000..05c44c5 --- /dev/null +++ b/tests/misc/autolinks_with_asterisks_russian.html @@ -0,0 +1,3 @@ +

+ http://some.site/нечто*очень*странное +

\ No newline at end of file diff --git a/tests/misc/autolinks_with_asterisks_russian.txt b/tests/misc/autolinks_with_asterisks_russian.txt new file mode 100644 index 0000000..74465f1 --- /dev/null +++ b/tests/misc/autolinks_with_asterisks_russian.txt @@ -0,0 +1,3 @@ + + + -- cgit v1.2.3