summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-07-15 14:24:37 -0400
committerNat Goodspeed <nat@lindenlab.com>2011-07-15 14:24:37 -0400
commitfee07bb597a64489b8e4bca8513ebd2afd9e7b6e (patch)
tree0bd081b02242d08ad504de54775741ee3713faa1 /indra/llcommon/tests
parent4b21954729163069e9d8f78c22624a2ecbc17b38 (diff)
Try again to pacify VS fatal warning.
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r--indra/llcommon/tests/llsdserialize_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index e6a0deaa8b..b0c0df192c 100644
--- a/indra/llcommon/tests/llsdserialize_test.cpp
+++ b/indra/llcommon/tests/llsdserialize_test.cpp
@@ -1852,7 +1852,8 @@ namespace tut
ensure_equals("Failed to read LLSD::Real from Python",
LLSDSerialize::fromNotation(item, inf, LLSDSerialize::SIZE_UNLIMITED),
1);
- ensure_approximately_equals(F32(item.asReal()), 3.14, 7); // 7 bits ~= 0.01
+ ensure_approximately_equals("Bad LLSD::Real value from Python",
+ item.asReal(), 3.14, 7); // 7 bits ~= 0.01
ensure_equals("Failed to read LLSD::String from Python",
LLSDSerialize::fromNotation(item, inf, LLSDSerialize::SIZE_UNLIMITED),
1);