Fixing and Rerunning the Failed Test

We need to fix the test so that it is checking the correct distance.
  1. With TestAIRCODE.cbl displayed in the editor, replace 4787 with 7703, so that the IF statement now reads:
               if function numval(distance-km) not equal 7703
                   string "Incorrect distance in kilometers returned - " 
                           distance-km delimited by size
                           x"0" delimited by size
                           into errormessage
                   end-string
                   call MFU-ASSERT-FAIL-Z using errormessage
               end-if
  2. Press Ctrl+S to save the changes.
  3. In the Micro Focus Unit Testing window, click Run Failed.

    The failed test is rerun, and now passes.