Remove test warnings
This commit is contained in:
parent
ff1619a62f
commit
8d23420031
2 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ namespace Tests.Lib
|
||||||
|
|
||||||
|
|
||||||
[Theory, MemberData(nameof(NumberToEmojiTestData))]
|
[Theory, MemberData(nameof(NumberToEmojiTestData))]
|
||||||
public async Task NumberToEmoji(int number, string expectedResult)
|
public void NumberToEmoji(int number, string expectedResult)
|
||||||
{
|
{
|
||||||
var emojiConverter = new EmojiConverter();
|
var emojiConverter = new EmojiConverter();
|
||||||
var result = emojiConverter.numberToEmoji(number);
|
var result = emojiConverter.numberToEmoji(number);
|
||||||
|
@ -65,7 +65,7 @@ namespace Tests.Lib
|
||||||
|
|
||||||
|
|
||||||
[Theory, MemberData(nameof(textToEmojiTestData))]
|
[Theory, MemberData(nameof(textToEmojiTestData))]
|
||||||
public async Task TextToEmoji(string text, string expectedResult)
|
public void TextToEmoji(string text, string expectedResult)
|
||||||
{
|
{
|
||||||
var emojiConverter = new EmojiConverter();
|
var emojiConverter = new EmojiConverter();
|
||||||
var result = emojiConverter.textToEmoji(text);
|
var result = emojiConverter.textToEmoji(text);
|
||||||
|
|
|
@ -39,7 +39,7 @@ namespace Tests.Lib
|
||||||
|
|
||||||
|
|
||||||
[Theory, MemberData(nameof(LevelCalcTestData))]
|
[Theory, MemberData(nameof(LevelCalcTestData))]
|
||||||
public async Task GetLevel(int messages, int expectedResult)
|
public void GetLevel(int messages, int expectedResult)
|
||||||
{
|
{
|
||||||
var levelCalc = new LevelCalc();
|
var levelCalc = new LevelCalc();
|
||||||
var result = levelCalc.GetLevel(messages);
|
var result = levelCalc.GetLevel(messages);
|
||||||
|
|
Loading…
Reference in a new issue