Skip to content

Commit

Permalink
add test for inlineStyler precedingTokenOf:
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianKleissl committed Jul 3, 2020
1 parent abafe7e commit 71b3f94
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tests - tokenization
testPrecedingTokenOf

| open close |

open := MarkdownToken new.
close := MarkdownToken new.
inlineTextStyler tokens: {open. close}.

self assert: (inlineTextStyler precedingTokenOf: close) equals: open
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"testInterpretTokensWithoutEmphasis" : "hsl 5/19/2020 22:46",
"testIsReusable" : "hsl 5/19/2020 23:13",
"testLinks" : "hsl 7/1/2020 12:44",
"testPrecedingTokenOf" : "MK 7/3/2020 14:18",
"testPreviousEmphasesGetRemoved" : "jst 7/25/2019 14:34",
"testProcessingTwoDelimitersCreatesBoldEmphasis" : "cg 6/29/2020 21:56",
"testProcessingTwoDelimitersCreatesItalicEmphasis" : "cg 6/29/2020 23:49",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"instance" : {
"testConvertWith" : "hsl 7/1/2020 12:00",
"testExtendableWith" : "hsl 7/1/2020 03:11",
"testListCategoryEqualsListItemCategory" : " 7/2/2020 12:57:53",
"testListCategoryEqualsListItemCategory" : "7/2/2020 12:57:53",
"testMayBeginWithCorrectIndentation" : "MK 5/27/2020 14:14",
"testMayBeginWithCorrectIndentationWithText" : "MK 5/27/2020 14:14",
"testMayBeginWithWrongIndentation" : "cg 5/27/2020 13:02",
Expand Down

0 comments on commit 71b3f94

Please sign in to comment.