kunit: mock: add failed expectation to output message

Google-Bug-Id: 113272313
Signed-off-by: Arturo Gomez <arturogomez@google.com>
Change-Id: I7678e58bbf3cedd06e495e482a3f4ce588171f4d
diff --git a/test/mock.c b/test/mock.c
index ca8aedb..db8498e 100644
--- a/test/mock.c
+++ b/test/mock.c
@@ -60,8 +60,8 @@
 		    "%s:%d - Expectation was not called the specified number of times:\n\t",
 		    expectation->file_name, expectation->line_no);
 	stream->add(stream,
-		    "Function: %s, min calls: %d, max calls: %d, actual calls: %d",
-		    expectation->method->method_name,
+		    "Expectation: %s,\n\tmin calls: %d, max calls: %d, actual calls: %d",
+                    expectation->expectation_text,
 		    expectation->min_calls_expected,
 		    expectation->max_calls_expected,
 		    expectation->times_called);