diff --git a/test/Base_Tests/src/Runtime/Managed_Resource_Spec.enso b/test/Base_Tests/src/Runtime/Managed_Resource_Spec.enso index 14f3cd6730cc3..3f8ca4756b243 100644 --- a/test/Base_Tests/src/Runtime/Managed_Resource_Spec.enso +++ b/test/Base_Tests/src/Runtime/Managed_Resource_Spec.enso @@ -6,6 +6,7 @@ import project.Runtime.GC_Example from Standard.Test import all +polyglot java import java.lang.Short add_specs suite_builder = suite_builder.group "Managed_Resource" group_builder-> group_builder.specify "should call the destructor even if the action fails" <| @@ -68,6 +69,9 @@ add_specs suite_builder = suite_builder.group "Managed_Resource" group_builder-> if messages.last != "OK" then Test.fail (messages.join '\n') + group_builder.specify "Sample failure on Native" <| + Short.valueOf "32" . should_equal 32 + main filter=Nothing = suite = Test.build suite_builder-> add_specs suite_builder