Skip to content

Commit

Permalink
Fix ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevins committed Apr 21, 2020
1 parent f1e302d commit f053f12
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ $blockClosingComment
"""

class MediaUploadCompletionProcessorPatternsTest {
@Test
fun `PATTERN_BLOCK_CAPTURES captures the block type`() {
val matcher = PATTERN_BLOCK_CAPTURES.matcher(rawBlock)
val outcome = matcher.find()
Assertions.assertThat(outcome).isEqualTo(true)
Assertions.assertThat(matcher.group(1)).isEqualTo(blockType)
}
@Test
fun `PATTERN_BLOCK_CAPTURES captures the block type`() {
val matcher = PATTERN_BLOCK_CAPTURES.matcher(rawBlock)
val outcome = matcher.find()
Assertions.assertThat(outcome).isEqualTo(true)
Assertions.assertThat(matcher.group(1)).isEqualTo(blockType)
}
@Test
fun `PATTERN_BLOCK_CAPTURES captures the block header json`() {
val matcher = PATTERN_BLOCK_CAPTURES.matcher(rawBlock)
Expand All @@ -49,4 +49,3 @@ class MediaUploadCompletionProcessorPatternsTest {
Assertions.assertThat(matcher.group(3)).isEqualTo(blockHTML + "\n")
}
}

0 comments on commit f053f12

Please sign in to comment.