aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-05-11 18:17:21 -0700
committerJohn MacFarlane <[email protected]>2025-05-11 18:17:21 -0700
commitddcc4e0c65c332cb35ead58c535e7496161d417e (patch)
treeeedcdc4d1800c41c9a8a50d15f6c0a8b122831fc
parent1239eaa4bea2074d658c3c9f4ad788c7cfef4873 (diff)
Remove some redundant code in test.
-rw-r--r--test/Tests/Readers/Org/Inline/Citation.hs9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/Tests/Readers/Org/Inline/Citation.hs b/test/Tests/Readers/Org/Inline/Citation.hs
index 3849ae3e7..17c7dde65 100644
--- a/test/Tests/Readers/Org/Inline/Citation.hs
+++ b/test/Tests/Readers/Org/Inline/Citation.hs
@@ -201,13 +201,6 @@ tests =
, "LaTeX citation" =:
"\\cite{Coffee}" =?>
- let citation = Citation
- { citationId = "Coffee"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 0
- , citationHash = 0}
- in (para $ rawInline "latex" "\\cite{Coffee}")
+ para (rawInline "latex" "\\cite{Coffee}")
]