Changeset 80

Show
Ignore:
Timestamp:
01/19/10 13:24:57 (2 years ago)
Author:
mgalloy
Message:

Fixing indentation for XML output.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/mgunit/src/mgutxmlrunner__define.pro

    r79 r80  
    112112 
    113113  indent = level eq 0L ? '' : string(bytarr(2 * level) + 32B) 
    114   msg = string(indent, testname, format='(%"%s<test name=\"%s\">")') 
     114  msg = string(indent, testname, format='(%"%s  <test name=\"%s\">")') 
    115115  self->_print, self.lun, msg 
    116116end 
     
    138138   
    139139  if (~keyword_set(passed)) then begin 
    140     _msg = string(indent, msg, format='(%"%s  <failure>%s</failure>")') 
     140    _msg = string(indent, msg, format='(%"%s    <failure>%s</failure>")') 
    141141    self->_print, self.lun, _msg 
    142142  endif 
    143143   
    144   self->_print, self.lun, string(indent, format='(%"%s</test>")') 
     144  self->_print, self.lun, string(indent, format='(%"%s  </test>")') 
    145145end 
    146146