From c59f71487d0f479a3fd90b7c02ba1178ec70da10 Mon Sep 17 00:00:00 2001 From: SavagePeanut Date: Mon, 29 Jul 2024 13:40:13 -0500 Subject: fix matrix angle brackets <> test cases --- tests/test_matrix.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_matrix.py b/tests/test_matrix.py index e1782d1..bea6a32 100644 --- a/tests/test_matrix.py +++ b/tests/test_matrix.py @@ -80,7 +80,7 @@ def test_quotes(): assert(format_for_matrix(test) == formatted_body) test = ">single arrow ->" - formatted_body = "
single arrow ->
" + formatted_body = "
single arrow ->
" assert(format_for_matrix(test) == formatted_body) test = ">single\n>grouped" @@ -96,7 +96,7 @@ def test_quotes(): assert(format_for_matrix(test) == formatted_body) test = ">>double\n&>not quote" - formatted_body = "
double

&>not quote" + formatted_body = "
double

&>not quote" assert(format_for_matrix(test) == formatted_body) test = ">>double\n>grouped single" @@ -176,7 +176,7 @@ def test_nested(): assert(format_for_matrix(test) == formatted_body) test = "*bold star >*< star bold*" - formatted_body = "bold star >*< star bold" + formatted_body = "bold star >*< star bold" assert(format_for_matrix(test) == formatted_body) test = "*_bold*_" @@ -201,11 +201,11 @@ def test_no_changes(): assert(format_for_matrix(test) == formatted_body) test = "arrow ->" - formatted_body = "arrow ->" + formatted_body = "arrow ->" assert(format_for_matrix(test) == formatted_body) test = " > no quote" - formatted_body = " > no quote" + formatted_body = " > no quote" assert(format_for_matrix(test) == formatted_body) test = "_not underlined" @@ -250,7 +250,7 @@ def test_assorted(): assert(format_for_matrix(test) == formatted_body) test = "_underline_ *bold* ~strikethrough~ >not quote ||spoiler||\n>quote\nnothing\nnothing\n>>>>another quote with ||~_*```four```*_~||" - formatted_body = "underline bold strikethrough >not quote spoiler
quote

nothing
nothing
another quote with ```four```
" + formatted_body = "underline bold strikethrough >not quote spoiler
quote

nothing
nothing
another quote with ```four```
" assert(format_for_matrix(test) == formatted_body) test = "```\nhacker\ncode\n```\n\n```\nhacker\ncode\n```" -- cgit v1.2.3