Skip to content

Commit

Permalink
test expression with null context
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Sep 27, 2024
1 parent 82eac5e commit 93edd74
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/java/kiss/core/ExpressionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@ void emptyLine() {
""");
}

@Test
void emptyLineWithNull() {
assert I.express("""
{emptyLine}
""", $("emptyLine", (String) null)).equals("""
""");
}

@Test
void sectionEmptyLine() {
assert I.express("""
Expand Down

0 comments on commit 93edd74

Please sign in to comment.