From ef2da35080bbb2014875415efe17c39760306e86 Mon Sep 17 00:00:00 2001 From: Godmar Back Date: Sun, 7 Jan 2007 21:38:02 +0000 Subject: [PATCH] Cosmetic fix: make first column wider to account for longer names in p4. --- src/tests/make-grade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/make-grade b/src/tests/make-grade index 5f60fa3..a3faa0e 100755 --- a/src/tests/make-grade +++ b/src/tests/make-grade @@ -72,7 +72,7 @@ while () { push (@rubrics, ''); my ($pct) = ($score / $possible) * $max_pct; - push (@summary, sprintf ("%-40s %3d/%3d %5.1f%%/%5.1f%%", + push (@summary, sprintf ("%-45s %3d/%3d %5.1f%%/%5.1f%%", $rubric_suffix, $score, $possible, $pct, $max_pct)); @@ -82,16 +82,16 @@ while () { close GRADING; my ($sum_line) - = "---------------------------------------- --- --- ------ ------"; + = "--------------------------------------------- --- --- ------ ------"; unshift (@summary, "SUMMARY BY TEST SET", '', - sprintf ("%-40s %3s %3s %6s %6s", + sprintf ("%-45s %3s %3s %6s %6s", "Test Set", "Pts", "Max", "% Ttl", "% Max"), $sum_line); push (@summary, $sum_line, - sprintf ("%-40s %3s %3s %5.1f%%/%5.1f%%", + sprintf ("%-45s %3s %3s %5.1f%%/%5.1f%%", 'Total', '', '', $pct_actual, $pct_possible)); unshift (@rubrics, -- 2.30.2