Skip to content

Commit

Permalink
Merge pull request #1283 from Noobish1/patch-1
Browse files Browse the repository at this point in the history
named the context param aContext to match the actual protocol
  • Loading branch information
younata committed May 11, 2024
2 parents 5e79cfe + 854fee4 commit 46c0056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/en-us/SharedExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ like `SomethingEdible`:

```swift
class SomethingEdible: Behavior<Edible> {
override class func spec(_ context: @escaping () -> Edible) {
override class func spec(_ aContext: @escaping () -> Edible) {
var edible: Edible!
beforeEach {
edible = context()
edible = aContext()
}

it("makes dolphins happy") {
Expand Down

0 comments on commit 46c0056

Please sign in to comment.