aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/test/llstring_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/test/llstring_tut.cpp')
-rw-r--r--linden/indra/test/llstring_tut.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/linden/indra/test/llstring_tut.cpp b/linden/indra/test/llstring_tut.cpp
index ba6ac7c..d17dd15 100644
--- a/linden/indra/test/llstring_tut.cpp
+++ b/linden/indra/test/llstring_tut.cpp
@@ -6,7 +6,7 @@
6 * 6 *
7 * $LicenseInfo:firstyear=2007&license=viewergpl$ 7 * $LicenseInfo:firstyear=2007&license=viewergpl$
8 * 8 *
9 * Copyright (c) 2007-2008, Linden Research, Inc. 9 * Copyright (c) 2007-2009, Linden Research, Inc.
10 * 10 *
11 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
12 * The source code in this file ("Source Code") is provided by Linden Lab 12 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -344,13 +344,8 @@ namespace tut
344 str_val = "0"; 344 str_val = "0";
345 ensure("2: convertToU32 failed", LLStringUtil::convertToU32(str_val, value) && value == 0); 345 ensure("2: convertToU32 failed", LLStringUtil::convertToU32(str_val, value) && value == 0);
346 346
347#ifndef LL_DARWIN
348 str_val = "-1";
349 ensure("3: convertToU32 failed", LLStringUtil::convertToU32(str_val, value) && value == 4294967295UL);
350#endif
351
352 str_val = "4294967296"; 347 str_val = "4294967296";
353 ensure("4: convertToU32 failed", !LLStringUtil::convertToU32(str_val, value)); 348 ensure("3: convertToU32 failed", !LLStringUtil::convertToU32(str_val, value));
354 } 349 }
355 350
356 template<> template<> 351 template<> template<>