<commit_before>//@@author A0142255M
package guitests;

import org.junit.Test;

import seedu.tache.commons.core.Messages;

public class ResultDisplayTest extends TaskManagerGuiTest {

    @Test
    public void resultDisplay_blankOnStartup_success() {
        assertResultMessage("");
    }

    @Test
    public void resultDisplay_unknownCommand_failure() {
        commandBox.runCommand("yutyfcydvchui");
        assertResultMessage(Messages.MESSAGE_UNKNOWN_COMMAND);

        commandBox.runCommand("");
        assertResultMessage(Messages.MESSAGE_INVALID_COMMAND_FORMAT);
    }

}<commit_msg>Fix JUnit result display test<commit_after>//@@author A0142255M
package guitests;

import static seedu.tache.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;

import org.junit.Test;

import seedu.tache.commons.core.Messages;
import seedu.tache.logic.commands.HelpCommand;

public class ResultDisplayTest extends TaskManagerGuiTest {

    @Test
    public void resultDisplay_blankOnStartup_success() {
        assertResultMessage("");
    }

    @Test
    public void resultDisplay_unknownCommand_failure() {
        commandBox.runCommand("yutyfcydvchui");
        assertResultMessage(Messages.MESSAGE_UNKNOWN_COMMAND);

        commandBox.runCommand("");
        assertResultMessage(String.format(MESSAGE_INVALID_COMMAND_FORMAT, HelpCommand.MESSAGE_USAGE));
    }

}
{'fraction_non_alphanumeric': 0.08864468864468865, 'fraction_numerical': 0.010256410256410256, 'mean_word_length': 4.464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5620002', 'n_tokens_mistral': 398, 'n_tokens_neox': 392, 'n_words': 62}