Skip to content

Commit 52839ad

Browse files
committed
fix unit tests
1 parent ff76ced commit 52839ad

File tree

1 file changed

+4
-7
lines changed
  • adventuresmith-core/src/test/java/org/stevesea/adventuresmith/core/stars_without_number

1 file changed

+4
-7
lines changed

adventuresmith-core/src/test/java/org/stevesea/adventuresmith/core/stars_without_number/SwnTest.kt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,17 @@ class SwnTest {
9191
fun alien() {
9292
Assert.assertEquals("""
9393
<h4>Alien</h4>
94-
<h5>Body Type</h5>
95-
Humanlike
96-
<h5>Lenses</h5>
97-
Curiosity<br/>Despair
98-
<h5>Social Structure</h5>
99-
Democratic
94+
<strong><small>Body Type:</small></strong> Humanlike
95+
<br/><strong><small>Lenses:</small></strong> Curiosity, Despair
96+
<br/><strong><small>Social Structure:</small></strong> Democratic
10097
""".trimIndent(), getGenerator(SwnConstants.ALIEN, 0).generate(Locale.US))
10198
}
10299

103100
@Test
104101
fun animal() {
105102
Assert.assertEquals("""
106103
<h4>Animal</h4>
107-
Insectile<br/>&nbsp;&nbsp;Chewing mouthparts<br/>&nbsp;&nbsp;Jewel-colored chitin
104+
<strong>Insectile</strong><br/>&nbsp;&nbsp;Chewing mouthparts<br/>&nbsp;&nbsp;Jewel-colored chitin
108105
""".trimIndent(), getGenerator(SwnConstants.ANIMAL, 0).generate(Locale.US))
109106
}
110107

0 commit comments

Comments
 (0)