@@ -5,13 +5,13 @@ module object_interface_test
55 use vegetables, only: &
66 result_t, input_t, integer_input_t, test_item_t, & ! types
77 describe, it, assert_equals, assert_that, assert_not ! functions
8- use object_interface, only : object
8+ use object_interface, only : object_t
99 implicit none
1010
1111 private
1212 public :: test_object
1313
14- type, extends(object ) :: subject
14+ type, extends(object_t ) :: subject
1515 contains
1616 procedure write_formatted
1717 end type
@@ -33,23 +33,23 @@ function test_object() result(tests)
3333
3434 function check_default_initialization () result(result_)
3535 ! ! Verify that user_defined() is .false. for a default-initialied object
36- class(object ), allocatable :: object_
36+ class(object_t ), allocatable :: object
3737 type (result_t) result_
3838
39- allocate (subject :: object_ )
39+ allocate (subject :: object )
4040
41- result_ = assert_not(object_ % user_defined())
41+ result_ = assert_not(object % user_defined())
4242 end function
4343
4444 function check_mark_as_defined () result(result_)
4545 ! ! Verify that mark_as_defined results in user_defined() being .true.
46- class(object ), allocatable :: object_
46+ class(object_t ), allocatable :: object
4747 type (result_t) result_
4848
49- allocate (subject :: object_ )
49+ allocate (subject :: object )
5050
51- call object_ % mark_as_defined
52- result_ = assert_that(object_ % user_defined())
51+ call object % mark_as_defined
52+ result_ = assert_that(object % user_defined())
5353 end function
5454
5555 subroutine write_formatted (self , unit , iotype , v_list , iostat , iomsg )
0 commit comments