Use Swift syntax highlight in README

This commit is contained in:
Benjamin Herzog 2016-02-16 15:24:34 +01:00
parent 544385d600
commit 3cf8058479
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ cuckoo generate --runtime $CUCKOO_VERSION --testable SomeAppModule --output ./Ge
For the example, lets say we generate the mock for the following protocol: For the example, lets say we generate the mock for the following protocol:
``` ```Swift
protocol Greeter { protocol Greeter {
func greet() func greet()
@ -78,7 +78,7 @@ protocol Greeter {
Then the generated mock will be named `MockGreeter`. Let's use it! Then the generated mock will be named `MockGreeter`. Let's use it!
``` ```Swift
// Create a mock instance // Create a mock instance
let mock = MockGreeter() let mock = MockGreeter()