1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-01 08:00:48 +00:00
plantuml/test/net/sourceforge/plantuml/help/CommandHelpThemeTest.java
The-Lum e70f23b8fe 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`
2024-02-13 11:04:02 +00:00

23 lines
520 B
Java

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");
}
}