Skip to content

Commit b11dc30

Browse files
SleeplessByteFridaTveit
authored andcommitted
bracket-push: rename to matching-brackets (exercism#1657)
* bracket-push: rename to matching-brackets This rename was proposed in: exercism/problem-specifications#1501 The rationale for the name is: * to name the exercise by its story, not by what it potentially teaches * to avoid unnecessarily biasing the solution space * 👀 update settings.gradle
1 parent 9f07b40 commit b11dc30

9 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652
]
653653
},
654654
{
655-
"slug": "bracket-push",
655+
"slug": "matching-brackets",
656656
"uuid": "85aa50ac-0141-49eb-bc6f-62f3f7a97647",
657657
"core": false,
658658
"unlocked_by": "flatten-array",
File renamed without changes.

exercises/bracket-push/.meta/src/reference/java/BracketChecker.java renamed to exercises/matching-brackets/.meta/src/reference/java/BracketChecker.java

File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bracket Push
1+
# Matching Brackets
22

33
Given a string containing brackets `[]`, braces `{}`, parentheses `()`,
44
or any combination thereof, verify that any and all pairs are matched
@@ -40,7 +40,7 @@ In the example above you could add:
4040
ExerciseClassName(String input) {
4141
4242
}
43-
```
43+
```
4444
That should make the error go away, though you might need to add some more code to your constructor to make the test pass!
4545

4646
You might also get an error similar to:
File renamed without changes.

exercises/bracket-push/src/test/java/BracketCheckerTest.java renamed to exercises/matching-brackets/src/test/java/BracketCheckerTest.java

File renamed without changes.

‎exercises/settings.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ include 'binary-search-tree'
1515
include 'bob'
1616
include 'book-store'
1717
include 'bowling'
18-
include 'bracket-push'
1918
include 'change'
2019
include 'circular-buffer'
2120
include 'clock'
@@ -50,6 +49,7 @@ include 'linked-list'
5049
include 'list-ops'
5150
include 'luhn'
5251
include 'markdown'
52+
include 'matching-brackets'
5353
include 'matrix'
5454
include 'meetup'
5555
include 'minesweeper'

0 commit comments

Comments
 (0)