From 0e5ce18de05b3a3112d0dd7ec559a45966b7a56c Mon Sep 17 00:00:00 2001 From: Jagdish Prajapati Date: Tue, 22 Jul 2025 21:24:03 +0530 Subject: [PATCH 1/3] Sync test.toml --- exercises/practice/say/.meta/tests.toml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/exercises/practice/say/.meta/tests.toml b/exercises/practice/say/.meta/tests.toml index df50fd17bb..a5532e9ed3 100644 --- a/exercises/practice/say/.meta/tests.toml +++ b/exercises/practice/say/.meta/tests.toml @@ -1,6 +1,13 @@ -# This is an auto-generated file. Regular comments will be removed when this -# file is regenerated. Regenerating will not touch any manually added keys, -# so comments can be added in a "comment" key. +# This is an auto-generated file. +# +# Regenerating this file via `configlet sync` will: +# - Recreate every `description` key/value pair +# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications +# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion) +# - Preserve any other key/value pair +# +# As user-added comments (using the # character) will be removed when this file +# is regenerated, comments can be added via a `comment` key. [5d22a120-ba0c-428c-bd25-8682235d83e8] description = "zero" @@ -17,12 +24,24 @@ description = "twenty" [d78601eb-4a84-4bfa-bf0e-665aeb8abe94] description = "twenty-two" +[f010d4ca-12c9-44e9-803a-27789841adb1] +description = "thirty" + +[738ce12d-ee5c-4dfb-ad26-534753a98327] +description = "ninety-nine" + [e417d452-129e-4056-bd5b-6eb1df334dce] description = "one hundred" [d6924f30-80ba-4597-acf6-ea3f16269da8] description = "one hundred twenty-three" +[2f061132-54bc-4fd4-b5df-0a3b778959b9] +description = "two hundred" + +[feed6627-5387-4d38-9692-87c0dbc55c33] +description = "nine hundred ninety-nine" + [3d83da89-a372-46d3-b10d-de0c792432b3] description = "one thousand" From 7fc3bf77cb039c185a9e177a0f61a756596c3080 Mon Sep 17 00:00:00 2001 From: Jagdish Prajapati Date: Tue, 22 Jul 2025 21:24:25 +0530 Subject: [PATCH 2/3] Update test file --- exercises/practice/say/say.spec.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/exercises/practice/say/say.spec.js b/exercises/practice/say/say.spec.js index 0734da4a77..01504764c1 100644 --- a/exercises/practice/say/say.spec.js +++ b/exercises/practice/say/say.spec.js @@ -22,6 +22,14 @@ describe('say', () => { expect(say(22)).toBe('twenty-two'); }); + xtest('thirty', () => { + expect(say(30)).toBe('thirty'); + }); + + xtest('ninety-nine', () => { + expect(say(99)).toBe('ninety-nine'); + }); + xtest('one hundred', () => { expect(say(100)).toBe('one hundred'); }); @@ -30,6 +38,14 @@ describe('say', () => { expect(say(123)).toBe('one hundred twenty-three'); }); + xtest('two hundred', () => { + expect(say(200)).toBe('two hundred'); + }); + + xtest('nine hundred ninety-nine', () => { + expect(say(999)).toBe('nine hundred ninety-nine'); + }); + xtest('one thousand', () => { expect(say(1000)).toBe('one thousand'); }); From 31a6cfc1ab9de104b2f5f7950f19f926a0291a5b Mon Sep 17 00:00:00 2001 From: Jagdish Prajapati Date: Tue, 22 Jul 2025 21:24:41 +0530 Subject: [PATCH 3/3] Configure config.json --- exercises/practice/say/.meta/config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/practice/say/.meta/config.json b/exercises/practice/say/.meta/config.json index ec1b522297..ecda285894 100644 --- a/exercises/practice/say/.meta/config.json +++ b/exercises/practice/say/.meta/config.json @@ -4,6 +4,7 @@ ], "contributors": [ "ankorGH", + "jagdish-15", "msomji", "rchavarria", "ryanplusplus",