Skip to content

Commit bf35937

Browse files
committed
Generate default score config properly
1 parent 9ee43ab commit bf35937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/ScoreCalculators/SimpleScoreCalculator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static function isScoreConfigValid(string $scoreConfig): bool {
9292
public static function getDefaultConfig(array $tests): string {
9393
$config = "testWeights:\n";
9494
foreach ($tests as $test) {
95-
$config .= " $test: 100\n";
95+
$config .= " \"$test\": 100\n";
9696
}
9797
return $config;
9898
}

0 commit comments

Comments
 (0)