Skip to content

Commit

Permalink
Add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jchalou committed Sep 14, 2023
1 parent 2dd3574 commit bb108fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ static void verifyStackTraceElementGuestObject(Object guestObject) throws Unsupp
if (interop.hasExecutableName(guestObject)) {
Object executableName = interop.getExecutableName(guestObject);
Assert.assertTrue(interop.isString(executableName));
} else {
AbstractPolyglotTest.assertFails(() -> interop.getExecutableName(guestObject), UnsupportedMessageException.class);
}
if (interop.hasDeclaringMetaObject(guestObject)) {
Object metaObject = interop.getDeclaringMetaObject(guestObject);
Expand Down

0 comments on commit bb108fa

Please sign in to comment.