File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
test/unit/fortran/src/pio_reader Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1913,6 +1913,9 @@ subroutine test_pio_reader_bad_count_element_range()
1913
1913
character(len=*), parameter :: expected_err_msg_huge = &
1914
1914
"Element 1 of 'count' for variable 'pressure' is out of bounds. Expected 1 to 59 but got 60."
1915
1915
1916
+ character(len=*), parameter :: expected_err_msg_bad_start = &
1917
+ "Element 1 of 'count' for variable 'pressure' is out of bounds. Expected 1 to 57 but got 58."
1918
+
1916
1919
! Begin test:
1917
1920
1918
1921
reader => create_netcdf_reader_t()
@@ -1939,7 +1942,7 @@ subroutine test_pio_reader_bad_count_element_range()
1939
1942
1940
1943
! Check that the correct error was raised:
1941
1944
@assertNotEqual(0, errcode)
1942
- @assertEqual(expected_err_msg_huge , trim(errmsg))
1945
+ @assertEqual(expected_err_msg_bad_start , trim(errmsg))
1943
1946
1944
1947
1945
1948
! Perform test cleanup:
You can’t perform that action at this time.
0 commit comments