From 46d5b3409143073191c254f6f5df865403ba9b66 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 12 Jan 2013 13:43:17 -0500 Subject: [PATCH] Unit Tests - Fixed test with ambiguous Test::is signature. --- test/text.t.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/text.t.cpp b/test/text.t.cpp index 5b70e996c..31d9cd808 100644 --- a/test/text.t.cpp +++ b/test/text.t.cpp @@ -478,9 +478,9 @@ int main (int argc, char** argv) t.is (rightJustify ("föo", 5), " föo", "rightJustify föo,5 -> ' föo'"); // int utf8_length (const std::string&); - t.is (utf8_length ("Çirçös"), 6, "utf8_length (Çirçös) == 6"); - t.is (utf8_length ("ツネナラム"), 5, "utf8_length (ツネナラム) == 5"); - t.is (utf8_length ("Zwölf Boxkämpfer"), 16, "utf8_length (Zwölf Boxkämpfer) == 16"); + t.is ((int) utf8_length ("Çirçös"), 6, "utf8_length (Çirçös) == 6"); + t.is ((int) utf8_length ("ツネナラム"), 5, "utf8_length (ツネナラム) == 5"); + t.is ((int) utf8_length ("Zwölf Boxkämpfer"), 16, "utf8_length (Zwölf Boxkämpfer) == 16"); return 0; }