Permalink
Browse files

Increase count upon create

The unit test passes; the count is increased. We rerun our feature test and confirm that the message still isn't showing in that cell, though.

Outer Red:
  • Loading branch information...
CodingItWrong committed Jan 2, 2018
1 parent 5ed6c50 commit f7ad0c77b7b6adccf613afadd323ca059010f8ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 LearnTDDInCocoaTouch/MessageStore.swift
@@ -5,7 +5,7 @@ class MessageStore {
var count = 0
func create(_ message: String) {
count += 1
}
func get(_ index: Int) -> String {

0 comments on commit f7ad0c7

Please sign in to comment.