Permalink
Browse files

Add create method

The create method has no return value, so it's easy to get it to compile: we just add a method with the correct signature and no body.

Red: Value of type 'MessageStore' has no member 'get'
  • Loading branch information...
CodingItWrong committed Jan 2, 2018
1 parent d724e07 commit 7314ddfbe0c4b15e7a074e01261885d20b0a2bae
Showing with 4 additions and 0 deletions.
  1. +4 −0 LearnTDDInCocoaTouch/MessageStore.swift
@@ -4,4 +4,8 @@ class MessageStore {
var count = 0
func create(_ message: String) {
}
}

0 comments on commit 7314ddf

Please sign in to comment.