From 59ebe12b3091206dc4a71908fd2e984fa4e05bcc Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 29 Jul 2013 12:13:58 -0700 Subject: [PATCH] Make expectEquals more generic --- Subtrees/beast/modules/beast_core/diagnostic/beast_UnitTest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Subtrees/beast/modules/beast_core/diagnostic/beast_UnitTest.h b/Subtrees/beast/modules/beast_core/diagnostic/beast_UnitTest.h index 656ce7ae1..41f7215d3 100644 --- a/Subtrees/beast/modules/beast_core/diagnostic/beast_UnitTest.h +++ b/Subtrees/beast/modules/beast_core/diagnostic/beast_UnitTest.h @@ -253,8 +253,8 @@ public: /** Compares two values, and if they don't match, prints out a message containing the expected and actual result values. */ - template - void expectEquals (ValueType actual, ValueType expected, String failureMessage = String::empty) + template + void expectEquals (ActualType actual, ExpectedType expected, String failureMessage = String::empty) { const bool result = (actual == expected);