diff --git a/src/test/java/ortus/boxlang/runtime/bifs/global/system/GetFunctionCalledNameTest.java b/src/test/java/ortus/boxlang/runtime/bifs/global/system/GetFunctionCalledNameTest.java index 4b8a59c06..be15b07a4 100644 --- a/src/test/java/ortus/boxlang/runtime/bifs/global/system/GetFunctionCalledNameTest.java +++ b/src/test/java/ortus/boxlang/runtime/bifs/global/system/GetFunctionCalledNameTest.java @@ -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