Skip to content

Commit

Permalink
Fix sample code in SharedExamples.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Feb 12, 2020
1 parent e6deea0 commit 0acf828
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/ko-kr/SharedExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Nimble

class EdibleSharedExamplesConfiguration: QuickConfiguration {
override class func configure(_ configuration: Configuration) {
sharedExamples("something edible") { (sharedExampleContext: SharedExampleContext) in
sharedExamples("something edible") { (sharedExampleContext: @escaping SharedExampleContext) in
it("makes dolphins happy") {
let dolphin = Dolphin(happy: false)
let edible = sharedExampleContext()["edible"]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/pt-br/SharedExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Nimble

class EdibleSharedExamplesConfiguration: QuickConfiguration {
override class func configure(_ configuration: Configuration) {
sharedExamples("something edible") { (sharedExampleContext: SharedExampleContext) in
sharedExamples("something edible") { (sharedExampleContext: @escaping SharedExampleContext) in
it("makes dolphins happy") {
let dolphin = Dolphin(happy: false)
let edible = sharedExampleContext()["edible"]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/zh-cn/SharedExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Nimble

class EdibleSharedExamplesConfiguration: QuickConfiguration {
override class func configure(_ configuration: Configuration) {
sharedExamples("something edible") { (sharedExampleContext: SharedExampleContext) in
sharedExamples("something edible") { (sharedExampleContext: @escaping SharedExampleContext) in
it("makes dolphins happy") {
let dolphin = Dolphin(happy: false)
let edible = sharedExampleContext()["edible"]
Expand Down

0 comments on commit 0acf828

Please sign in to comment.