Skip to content

Commit

Permalink
Fix for broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
bdw429s committed Apr 6, 2024
1 parent 02c3803 commit 1f556d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ public void testWithNoContext() {
public void testWithFunctionContext() {
instance.executeSource(
"""
function test() {
function test2() {
return getFunctionCalledName();
}
result = test()
result = test2()
""",
context );
assertThat( variables.get( result ) ).isEqualTo( "test" );
assertThat( variables.get( result ) ).isEqualTo( "test2" );
}

@Test
Expand Down

0 comments on commit 1f556d4

Please sign in to comment.