anchor.diff:        content: "<%= j raw(file['content']) %>"
       });
     <% end %>
  +};
  +
  +const updateOutput = () => {
  +  const colour = "<%= @light.colour %>";
  +  const stdout = "<%= j raw(@stdout['content']) %>";
  +  const stderr = "<%= j raw(@stderr['content']) %>";
  +  const status = "<%= j raw(@status.to_s) %>";
  +  cd.loadTestOutputFiles(colour, stdout, stderr, status);
   };
   
   //- - - - - - - - - - - - - - - - - - - - - -
  
positive.code:   cd.setupReviewTrafficLights(light);
  };
  
  //- - - - - - - - - - - - - - - - - - - - - -
  
  const updateEventIndex = () => {
    cd.setEventIndex("<%= @light.index %>");
  };
  
  //- - - - - - - - - - - - - - - - - - - - - -
  
  const updateTrafficLightCount = () => {
    const count = "<%= js_partial('traffic_lights_count') %>";
    $('#traffic-lights-count-box').html(count);
  };
  
  
  const updateTrafficLightPieChart = () => {
    const pieChart = "<%= js_partial('traffic_lights_pie_chart') %>";
    $('#traffic-lights-pie-chart').html(pieChart);
  };
  
  //- - - - - - - - - - - - - - - - - - - - - -
  
  const updateOutput = () => {
    const colour = "<%= @light.colour %>";
    const stdout = "<%= j raw(@stdout['content']) %>";
    const stderr = "<%= j raw(@stderr['content']) %>";
    const status = "<%= j raw(@status.to_s) %>";
    cd.loadTestOutputFiles(colour, stdout, stderr, status);
  };
  
  //- - - - - - - - - - - - - - - - - - - - - -
  
negative.code: };
  
  //- - - - - - - - - - - - - - - - - - - - - -
  // Update changed controls
  appendTestTrafficLight();
  updateTrafficLightCount();
  updateTrafficLightPieChart();
  updateEventIndex();
  
  //- - - - - - - - - - - - - - - - - - - - - -
  // Update changes files
  insertCreatedFiles();
  removeDeletedFiles();
  updateChangedFiles();
  updateOutput(); // stdout,stderr,status Must be last
  
  //- - - - - - - - - - - - - - - - - - - - - -
  // Warnings
  warnIfTestsTimedOut();
  //warnIfTrafficLightFaulty();
  //warnIfTruncatedFiles();
  
  cd.scrollLastTrafficLightIntoView();
  