1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

refactor: Change HelpTest to CommandHelpThemeTest on a more accurate folder

To continue:
- #1655

Change `HelpTest.java` to `CommandHelpThemeTest.java`
Put on a more accurate folder:
- `net.sourceforge.plantuml.help`
This commit is contained in:
The-Lum 2024-02-13 11:04:02 +00:00
parent e11d974ce5
commit e70f23b8fe

View File

@ -0,0 +1,23 @@
package net.sourceforge.plantuml.help;
import static org.assertj.core.api.Assertions.assertThat;
import static test.utils.PlantUmlTestUtils.exportDiagram;
import org.junit.jupiter.api.Test;
class CommandHelpThemeTest {
@Test
public void command_help_theme() throws Exception {
final String output = exportDiagram(
"@startuml",
"help themes",
"@enduml"
).asString();
assertThat(output)
.startsWith(" \nHelp on themes")
.contains("bluegray", "hacker");
}
}