From a3e838379ce7933e69d988b564032fb812d2bb51 Mon Sep 17 00:00:00 2001 From: Daniel Mita Date: Mon, 18 Nov 2024 18:38:20 +0000 Subject: [PATCH] snake_case variables --- exercises/practice/two-bucket/.meta/config.json | 3 +++ exercises/practice/two-bucket/.meta/template-data.yaml | 2 +- exercises/practice/two-bucket/lib/TwoBucket.pm | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/exercises/practice/two-bucket/.meta/config.json b/exercises/practice/two-bucket/.meta/config.json index 824b7363..883f2cad 100644 --- a/exercises/practice/two-bucket/.meta/config.json +++ b/exercises/practice/two-bucket/.meta/config.json @@ -2,6 +2,9 @@ "authors": [ "glennj" ], + "contributors": [ + "m-dango" + ], "files": { "solution": [ "lib/TwoBucket.pm" diff --git a/exercises/practice/two-bucket/.meta/template-data.yaml b/exercises/practice/two-bucket/.meta/template-data.yaml index 02826204..a38dfa8d 100644 --- a/exercises/practice/two-bucket/.meta/template-data.yaml +++ b/exercises/practice/two-bucket/.meta/template-data.yaml @@ -23,7 +23,7 @@ properties: } stub: |- - sub measure ($bucketOne, $bucketTwo, $goal, $startBucket) { + sub measure ($bucket_1, $bucket_2, $goal, $start_bucket) { return undef; } diff --git a/exercises/practice/two-bucket/lib/TwoBucket.pm b/exercises/practice/two-bucket/lib/TwoBucket.pm index 37b47b0b..880fc5f9 100644 --- a/exercises/practice/two-bucket/lib/TwoBucket.pm +++ b/exercises/practice/two-bucket/lib/TwoBucket.pm @@ -5,7 +5,7 @@ use v5.40; use Exporter qw; our @EXPORT_OK = qw; -sub measure ( $bucketOne, $bucketTwo, $goal, $startBucket ) { +sub measure ( $bucket_1, $bucket_2, $goal, $start_bucket ) { return undef; }