File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Rubberduck.Core/UI/UnitTesting Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ private void ExecuteCopyResultsCommand(object parameter)
408
408
409
409
var title = string . Format ( $ "Rubberduck Test Results - { DateTime . Now . ToString ( CultureInfo . InvariantCulture ) } ") ;
410
410
411
- // var textResults = title + Environment.NewLine + string.Join("", _results .Select(result => result.ToString() + Environment.NewLine).ToArray());
411
+ var textResults = title + Environment . NewLine + string . Join ( string . Empty , aResults . Select ( result => result . ToString ( ) + Environment . NewLine ) . ToArray ( ) ) ;
412
412
var csvResults = ExportFormatter . Csv ( aResults , title , columnInfos ) ;
413
413
var htmlResults = ExportFormatter . HtmlClipboardFragment ( aResults , title , columnInfos ) ;
414
414
var rtfResults = ExportFormatter . RTF ( aResults , title ) ;
@@ -420,7 +420,7 @@ private void ExecuteCopyResultsCommand(object parameter)
420
420
_clipboard . AppendString ( DataFormats . Rtf , rtfResults ) ;
421
421
_clipboard . AppendString ( DataFormats . Html , htmlResults ) ;
422
422
_clipboard . AppendString ( DataFormats . CommaSeparatedValue , csvResults ) ;
423
- // _clipboard.AppendString(DataFormats.UnicodeText, textResults);
423
+ _clipboard . AppendString ( DataFormats . UnicodeText , textResults ) ;
424
424
425
425
_clipboard . Flush ( ) ;
426
426
}
You can’t perform that action at this time.
0 commit comments