mirror of
https://github.com/octoleo/plantuml.git
synced 2024-06-01 08:00:48 +00:00
e70f23b8fe
To continue: - #1655 Change `HelpTest.java` to `CommandHelpThemeTest.java` Put on a more accurate folder: - `net.sourceforge.plantuml.help`
23 lines
520 B
Java
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");
|
|
}
|
|
} |