Skip to content

Commit 47c9d8c

Browse files
committed
Update comments, initial template
1 parent c56fba4 commit 47c9d8c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

bin/generate_tests

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ test_file="$exercise_dir/tests/$slug.rs"
3030
cat <<EOT >"$test_file"
3131
use $(dash_to_underscore "$slug")::*;
3232
33-
// Add tests here
34-
3533
EOT
3634

3735
# Flattens canonical json, extracts only the objects with a uuid

bin/generator-utils/templates.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ EOT
7070
cat <<EOT >>"$test_file"
7171
#[test] $([[ "$first_iteration" == false ]] && printf "\n#[ignore]")
7272
fn ${desc}() {
73-
7473
let input = ${input};
7574
let expected = ${expected};
7675
77-
// TODO: Add assertion
76+
// TODO: Verify assertion
7877
assert_eq!(${fn_name}(input), expected);
7978
}
8079

bin/generator-utils/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# top one gets evaluated
44
# relative one is needed for .shellcheckrc to test if files exist in local env
55
# absolute one is needed for CI to test if files exist
6-
# before commit - swap these accordingly
6+
# before commit swap these accordingly
77
# shellcheck source=bin/generator-utils/colors.sh
88
# shellcheck source=./colors.sh
99
source ./bin/generator-utils/colors.sh

0 commit comments

Comments
 (0)