From 51372c01f2ca3154b26ac6b650f08bf2ae315f8c 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 --- modules/beast_core/diagnostic/beast_UnitTest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/beast_core/diagnostic/beast_UnitTest.h b/modules/beast_core/diagnostic/beast_UnitTest.h index 656ce7ae1..41f7215d3 100644 --- a/modules/beast_core/diagnostic/beast_UnitTest.h +++ b/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);