Skip to content

Commit 0738bc4

Browse files
committed
add sub-heading
1 parent db06047 commit 0738bc4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/testResultsSummary.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export function writeSummary(testResults: MatlabTestFile[][], stats: TestStatist
5555
core.summary
5656
.addHeading('MATLAB Test Results')
5757
.addRaw(header, true)
58+
.addHeading('All tests', 3)
5859
.addRaw(detailedResults, true)
5960
.write();
6061
} catch (e) {
@@ -99,7 +100,7 @@ function generateTestFileRow(file: MatlabTestFile): string {
99100
<tr>
100101
<td>
101102
<details>
102-
<summary><b title="` + file.path + `">` + statusEmoji + " " + file.name + `</b></summary>
103+
<summary><b title="` + file.path + `">` + statusEmoji + ` ` + file.name + `</b></summary>
103104
<table>
104105
<tr>
105106
<th>Test</th>
@@ -139,7 +140,7 @@ function generateTestCaseRow(testCase: MatlabTestCase): string {
139140

140141
return `
141142
<tr>
142-
<td>` + statusEmoji + " " + testCase.name + `</td>
143+
<td>` + statusEmoji + ` ` + testCase.name + `</td>
143144
<td>` + diagnosticsColumn + `</td>
144145
<td align="center">` + testCase.duration.toFixed(2) + `</td>
145146
</tr>`;

0 commit comments

Comments
 (0)