From 15acbdec8c9357b78435af707140b0278cf376b2 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 7 Apr 2015 19:50:25 -0400 Subject: Remove lazy_ol keyword. Use sane_lists extension instead. This was adapted from 11408e50 of the md3 branch. --- tests/extensions/sane_lists.html | 13 ++++++++++++- tests/extensions/sane_lists.txt | 10 ++++++++++ tests/options/lazy_ol_off.html | 18 ------------------ tests/options/lazy_ol_off.txt | 17 ----------------- tests/test_legacy.py | 2 -- 5 files changed, 22 insertions(+), 38 deletions(-) delete mode 100644 tests/options/lazy_ol_off.html delete mode 100644 tests/options/lazy_ol_off.txt (limited to 'tests') diff --git a/tests/extensions/sane_lists.html b/tests/extensions/sane_lists.html index b9fe007..ed51b4d 100644 --- a/tests/extensions/sane_lists.html +++ b/tests/extensions/sane_lists.html @@ -18,4 +18,15 @@ \ No newline at end of file + +
    +
  1. Bird
  2. +
  3. McHale
  4. +
  5. Parish
  6. +
+

Not a list

+
    +
  1. Bird
  2. +
  3. McHale
  4. +
  5. Parish
  6. +
\ No newline at end of file diff --git a/tests/extensions/sane_lists.txt b/tests/extensions/sane_lists.txt index 51981b3..464149f 100644 --- a/tests/extensions/sane_lists.txt +++ b/tests/extensions/sane_lists.txt @@ -14,3 +14,13 @@ Paragraph * Unordered again 1. not a list item + +3. Bird +1. McHale +8. Parish + +Not a list + +3. Bird +1. McHale +8. Parish \ No newline at end of file diff --git a/tests/options/lazy_ol_off.html b/tests/options/lazy_ol_off.html deleted file mode 100644 index bff1970..0000000 --- a/tests/options/lazy_ol_off.html +++ /dev/null @@ -1,18 +0,0 @@ -

A numbered list from daringfireball:

-
    -
  1. Bird
  2. -
  3. McHale
  4. -
  5. Parish
  6. -
-

Again:

-
    -
  1. Bird
  2. -
  3. McHale
  4. -
  5. Parish
  6. -
-

Now starting with 1:

-
    -
  1. Bird
  2. -
  3. McHale
  4. -
  5. Parish
  6. -
\ No newline at end of file diff --git a/tests/options/lazy_ol_off.txt b/tests/options/lazy_ol_off.txt deleted file mode 100644 index 611f3a6..0000000 --- a/tests/options/lazy_ol_off.txt +++ /dev/null @@ -1,17 +0,0 @@ -A numbered list from daringfireball: - -3. Bird -1. McHale -8. Parish - -Again: - -3. Bird -1. McHale -8. Parish - -Now starting with 1: - -1. Bird -1. McHale -8. Parish diff --git a/tests/test_legacy.py b/tests/test_legacy.py index 2e0c982..976a84e 100644 --- a/tests/test_legacy.py +++ b/tests/test_legacy.py @@ -44,8 +44,6 @@ class TestMisc(LegacyTestCase): class TestOptions(LegacyTestCase): location = os.path.join(parent_test_dir, 'options') - lazy_ol_off = Kwargs(lazy_ol=False) - html4 = Kwargs(output_format='html4') no_smart_emphasis = Kwargs(smart_emphasis=False) -- cgit v1.2.3