summaryrefslogtreecommitdiff
path: root/exercises/17_tests/tests1.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-17 22:46:21 +0200
committermo8it <mo8it@proton.me>2024-04-17 22:46:21 +0200
commitcb9f1ac9ce3c834b0cca964b6809b74508f80b54 (patch)
treef168d86b6035d7d9e357ac53cd36c2b8928f399b /exercises/17_tests/tests1.rs
parentd83cc69afecf59fba184755591d73c7208988574 (diff)
Require a main function in all exercises
Diffstat (limited to 'exercises/17_tests/tests1.rs')
-rw-r--r--exercises/17_tests/tests1.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/exercises/17_tests/tests1.rs b/exercises/17_tests/tests1.rs
index bde2108..d32ace1 100644
--- a/exercises/17_tests/tests1.rs
+++ b/exercises/17_tests/tests1.rs
@@ -10,6 +10,10 @@
// Execute `rustlings hint tests1` or use the `hint` watch subcommand for a
// hint.
+fn main() {
+ // You can optionally experiment here.
+}
+
#[cfg(test)]
mod tests {
#[test]