Skip to content

Commit

Permalink
Simplify the tests.toml files by removing any include = true prop…
Browse files Browse the repository at this point in the history
…erties, which are redundant as the default value of this field is `true`.

As the vast majority of the test cases use `include = true`, omitting it makes the `tests.toml` files more readable and make the exceptional cases (`include = false`) far easier to identify.

See exercism/configlet#186 and exercism/configlet#207 for the corresponding discussion.
  • Loading branch information
ErikSchierboom authored and verdammelt committed May 5, 2021
1 parent 6c710e3 commit 2089324
Show file tree
Hide file tree
Showing 41 changed files with 0 additions and 583 deletions.
9 changes: 0 additions & 9 deletions exercises/practice/acronym/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,27 @@

[1e22cceb-c5e4-4562-9afe-aef07ad1eaf4]
description = "basic"
include = true

[79ae3889-a5c0-4b01-baf0-232d31180c08]
description = "lowercase words"
include = true

[ec7000a7-3931-4a17-890e-33ca2073a548]
description = "punctuation"
include = true

[32dd261c-0c92-469a-9c5c-b192e94a63b0]
description = "all caps word"
include = true

[ae2ac9fa-a606-4d05-8244-3bcc4659c1d4]
description = "punctuation without whitespace"
include = true

[0e4b1e7c-1a6d-48fb-81a7-bf65eb9e69f9]
description = "very long abbreviation"
include = true

[6a078f49-c68d-4b7b-89af-33a1a98c28cc]
description = "consecutive delimiters"
include = true

[5118b4b1-4572-434c-8d57-5b762e57973e]
description = "apostrophes"
include = true

[adc12eab-ec2d-414f-b48c-66a4fc06cdef]
description = "underscore emphasis"
include = true
21 changes: 0 additions & 21 deletions exercises/practice/all-your-base/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,84 +4,63 @@

[5ce422f9-7a4b-4f44-ad29-49c67cb32d2c]
description = "single bit one to decimal"
include = true

[0cc3fea8-bb79-46ac-a2ab-5a2c93051033]
description = "binary to single decimal"
include = true

[f12db0f9-0d3d-42c2-b3ba-e38cb375a2b8]
description = "single decimal to binary"
include = true

[2c45cf54-6da3-4748-9733-5a3c765d925b]
description = "binary to multiple decimal"
include = true

[65ddb8b4-8899-4fcc-8618-181b2cf0002d]
description = "decimal to binary"
include = true

[8d418419-02a7-4824-8b7a-352d33c6987e]
description = "trinary to hexadecimal"
include = true

[d3901c80-8190-41b9-bd86-38d988efa956]
description = "hexadecimal to trinary"
include = true

[5d42f85e-21ad-41bd-b9be-a3e8e4258bbf]
description = "15-bit integer"
include = true

[d68788f7-66dd-43f8-a543-f15b6d233f83]
description = "empty list"
include = true

[5e27e8da-5862-4c5f-b2a9-26c0382b6be7]
description = "single zero"
include = true

[2e1c2573-77e4-4b9c-8517-6c56c5bcfdf2]
description = "multiple zeros"
include = true

[3530cd9f-8d6d-43f5-bc6e-b30b1db9629b]
description = "leading zeros"
include = true

[a6b476a1-1901-4f2a-92c4-4d91917ae023]
description = "input base is one"
include = true

[e21a693a-7a69-450b-b393-27415c26a016]
description = "input base is zero"
include = true

[54a23be5-d99e-41cc-88e0-a650ffe5fcc2]
description = "input base is negative"
include = true

[9eccf60c-dcc9-407b-95d8-c37b8be56bb6]
description = "negative digit"
include = true

[232fa4a5-e761-4939-ba0c-ed046cd0676a]
description = "invalid positive digit"
include = true

[14238f95-45da-41dc-95ce-18f860b30ad3]
description = "output base is one"
include = true

[73dac367-da5c-4a37-95fe-c87fad0a4047]
description = "output base is zero"
include = true

[13f81f42-ff53-4e24-89d9-37603a48ebd9]
description = "output base is negative"
include = true

[0e6c895d-8a5d-4868-a345-309d094cfe8d]
description = "both bases are negative"
include = true
49 changes: 0 additions & 49 deletions exercises/practice/allergies/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,196 +4,147 @@

[17fc7296-2440-4ac4-ad7b-d07c321bc5a0]
description = "not allergic to anything"
include = true

[07ced27b-1da5-4c2e-8ae2-cb2791437546]
description = "allergic only to eggs"
include = true

[5035b954-b6fa-4b9b-a487-dae69d8c5f96]
description = "allergic to eggs and something else"
include = true

[64a6a83a-5723-4b5b-a896-663307403310]
description = "allergic to something, but not eggs"
include = true

[90c8f484-456b-41c4-82ba-2d08d93231c6]
description = "allergic to everything"
include = true

[d266a59a-fccc-413b-ac53-d57cb1f0db9d]
description = "not allergic to anything"
include = true

[ea210a98-860d-46b2-a5bf-50d8995b3f2a]
description = "allergic only to peanuts"
include = true

[eac69ae9-8d14-4291-ac4b-7fd2c73d3a5b]
description = "allergic to peanuts and something else"
include = true

[9152058c-ce39-4b16-9b1d-283ec6d25085]
description = "allergic to something, but not peanuts"
include = true

[d2d71fd8-63d5-40f9-a627-fbdaf88caeab]
description = "allergic to everything"
include = true

[b948b0a1-cbf7-4b28-a244-73ff56687c80]
description = "not allergic to anything"
include = true

[9ce9a6f3-53e9-4923-85e0-73019047c567]
description = "allergic only to shellfish"
include = true

[b272fca5-57ba-4b00-bd0c-43a737ab2131]
description = "allergic to shellfish and something else"
include = true

[21ef8e17-c227-494e-8e78-470a1c59c3d8]
description = "allergic to something, but not shellfish"
include = true

[cc789c19-2b5e-4c67-b146-625dc8cfa34e]
description = "allergic to everything"
include = true

[651bde0a-2a74-46c4-ab55-02a0906ca2f5]
description = "not allergic to anything"
include = true

[b649a750-9703-4f5f-b7f7-91da2c160ece]
description = "allergic only to strawberries"
include = true

[50f5f8f3-3bac-47e6-8dba-2d94470a4bc6]
description = "allergic to strawberries and something else"
include = true

[23dd6952-88c9-48d7-a7d5-5d0343deb18d]
description = "allergic to something, but not strawberries"
include = true

[74afaae2-13b6-43a2-837a-286cd42e7d7e]
description = "allergic to everything"
include = true

[c49a91ef-6252-415e-907e-a9d26ef61723]
description = "not allergic to anything"
include = true

[b69c5131-b7d0-41ad-a32c-e1b2cc632df8]
description = "allergic only to tomatoes"
include = true

[1ca50eb1-f042-4ccf-9050-341521b929ec]
description = "allergic to tomatoes and something else"
include = true

[e9846baa-456b-4eff-8025-034b9f77bd8e]
description = "allergic to something, but not tomatoes"
include = true

[b2414f01-f3ad-4965-8391-e65f54dad35f]
description = "allergic to everything"
include = true

[978467ab-bda4-49f7-b004-1d011ead947c]
description = "not allergic to anything"
include = true

[59cf4e49-06ea-4139-a2c1-d7aad28f8cbc]
description = "allergic only to chocolate"
include = true

[b0a7c07b-2db7-4f73-a180-565e07040ef1]
description = "allergic to chocolate and something else"
include = true

[f5506893-f1ae-482a-b516-7532ba5ca9d2]
description = "allergic to something, but not chocolate"
include = true

[02debb3d-d7e2-4376-a26b-3c974b6595c6]
description = "allergic to everything"
include = true

[17f4a42b-c91e-41b8-8a76-4797886c2d96]
description = "not allergic to anything"
include = true

[7696eba7-1837-4488-882a-14b7b4e3e399]
description = "allergic only to pollen"
include = true

[9a49aec5-fa1f-405d-889e-4dfc420db2b6]
description = "allergic to pollen and something else"
include = true

[3cb8e79f-d108-4712-b620-aa146b1954a9]
description = "allergic to something, but not pollen"
include = true

[1dc3fe57-7c68-4043-9d51-5457128744b2]
description = "allergic to everything"
include = true

[d3f523d6-3d50-419b-a222-d4dfd62ce314]
description = "not allergic to anything"
include = true

[eba541c3-c886-42d3-baef-c048cb7fcd8f]
description = "allergic only to cats"
include = true

[ba718376-26e0-40b7-bbbe-060287637ea5]
description = "allergic to cats and something else"
include = true

[3c6dbf4a-5277-436f-8b88-15a206f2d6c4]
description = "allergic to something, but not cats"
include = true

[1faabb05-2b98-4995-9046-d83e4a48a7c1]
description = "allergic to everything"
include = true

[f9c1b8e7-7dc5-4887-aa93-cebdcc29dd8f]
description = "no allergies"
include = true

[9e1a4364-09a6-4d94-990f-541a94a4c1e8]
description = "just eggs"
include = true

[8851c973-805e-4283-9e01-d0c0da0e4695]
description = "just peanuts"
include = true

[2c8943cb-005e-435f-ae11-3e8fb558ea98]
description = "just strawberries"
include = true

[6fa95d26-044c-48a9-8a7b-9ee46ec32c5c]
description = "eggs and peanuts"
include = true

[19890e22-f63f-4c5c-a9fb-fb6eacddfe8e]
description = "more than eggs but not peanuts"
include = true

[4b68f470-067c-44e4-889f-c9fe28917d2f]
description = "lots of stuff"
include = true

[0881b7c5-9efa-4530-91bd-68370d054bc7]
description = "everything"
include = true

[12ce86de-b347-42a0-ab7c-2e0570f0c65b]
description = "no allergen score parts"
include = true
14 changes: 0 additions & 14 deletions exercises/practice/anagram/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,42 @@

[dd40c4d2-3c8b-44e5-992a-f42b393ec373]
description = "no matches"
include = true

[b3cca662-f50a-489e-ae10-ab8290a09bdc]
description = "detects two anagrams"
include = true

[a27558ee-9ba0-4552-96b1-ecf665b06556]
description = "does not detect anagram subsets"
include = true

[64cd4584-fc15-4781-b633-3d814c4941a4]
description = "detects anagram"
include = true

[99c91beb-838f-4ccd-b123-935139917283]
description = "detects three anagrams"
include = true

[78487770-e258-4e1f-a646-8ece10950d90]
description = "detects multiple anagrams with different case"
include = true

[1d0ab8aa-362f-49b7-9902-3d0c668d557b]
description = "does not detect non-anagrams with identical checksum"
include = true

[9e632c0b-c0b1-4804-8cc1-e295dea6d8a8]
description = "detects anagrams case-insensitively"
include = true

[b248e49f-0905-48d2-9c8d-bd02d8c3e392]
description = "detects anagrams using case-insensitive subject"
include = true

[f367325c-78ec-411c-be76-e79047f4bd54]
description = "detects anagrams using case-insensitive possible matches"
include = true

[7cc195ad-e3c7-44ee-9fd2-d3c344806a2c]
description = "does not detect an anagram if the original word is repeated"
include = true

[9878a1c9-d6ea-4235-ae51-3ea2befd6842]
description = "anagrams must use all letters exactly once"
include = true

[85757361-4535-45fd-ac0e-3810d40debc1]
description = "words are not anagrams of themselves (case-insensitive)"
include = true

[a0705568-628c-4b55-9798-82e4acde51ca]
description = "words other than themselves can be anagrams"
include = true
Loading

0 comments on commit 2089324

Please sign in to comment.