test_match_bool_str_mismatch Subroutine

public subroutine test_match_bool_str_mismatch()

Arguments

None

Calls

proc~~test_match_bool_str_mismatch~~CallsGraph proc~test_match_bool_str_mismatch test_match_bool_str_mismatch ESMF_HConfigCreate ESMF_HConfigCreate proc~test_match_bool_str_mismatch->ESMF_HConfigCreate ESMF_HConfigDestroy ESMF_HConfigDestroy proc~test_match_bool_str_mismatch->ESMF_HConfigDestroy anyexceptions anyexceptions proc~test_match_bool_str_mismatch->anyexceptions assert_that assert_that proc~test_match_bool_str_mismatch->assert_that false false proc~test_match_bool_str_mismatch->false interface~mapl_hconfigmatch MAPL_HConfigMatch proc~test_match_bool_str_mismatch->interface~mapl_hconfigmatch sourcelocation sourcelocation proc~test_match_bool_str_mismatch->sourcelocation

Source Code

   subroutine test_match_bool_str_mismatch()
      type(ESMF_HConfig) :: a, b
      logical :: match
      integer :: status

      a = ESMF_HConfigCreate(content='on', _RC)
      b = ESMF_HConfigCreate(content='"on"', _RC)

      match = MAPL_HConfigMatch(a, b, _RC)
      @assert_that(match, is(false()))

      call ESMF_HConfigDestroy(a, _RC)
      call ESMF_HConfigDestroy(b, _RC)
   end subroutine test_match_bool_str_mismatch