We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73d96b0 commit 5e4657dCopy full SHA for 5e4657d
src/tools/rustdoc-gui/tester.js
@@ -93,8 +93,13 @@ function char_printer(n_tests) {
93
}
94
},
95
finish: function() {
96
- const spaces = " ".repeat(max_per_line - (current % max_per_line));
97
- process.stdout.write(`${spaces} (${current}/${n_tests})${os.EOL}${os.EOL}`);
+ if (current % max_per_line === 0) {
+ // Don't output if we are already at a matching line end
98
+ console.log("");
99
+ } else {
100
+ const spaces = " ".repeat(max_per_line - (current % max_per_line));
101
+ process.stdout.write(`${spaces} (${current}/${n_tests})${os.EOL}${os.EOL}`);
102
+ }
103
104
};
105
0 commit comments