Skip to content

assertEquals converted to assertThat for MarkdownTest#2202

Merged
andrerfcsantos merged 1 commit into
exercism:mainfrom
smcg468:markdown-assertJ-conversion
Nov 17, 2022
Merged

assertEquals converted to assertThat for MarkdownTest#2202
andrerfcsantos merged 1 commit into
exercism:mainfrom
smcg468:markdown-assertJ-conversion

Conversation

@smcg468
Copy link
Copy Markdown
Contributor

@smcg468 smcg468 commented Nov 16, 2022

related to #2147
Importing AssertJ and changing all assertEquals to assertThat.

Example of Change:

assertEquals(expected, markdown.parse(input));

To

assertThat(markdown.parse(input)).isEqualTo(expected);

Copy link
Copy Markdown
Member

@andrerfcsantos andrerfcsantos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@andrerfcsantos andrerfcsantos added the x:rep/small Small amount of reputation label Nov 17, 2022
@andrerfcsantos andrerfcsantos merged commit 1fcedc6 into exercism:main Nov 17, 2022
@smcg468 smcg468 deleted the markdown-assertJ-conversion branch November 18, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:rep/small Small amount of reputation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants