summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_basic_bstring_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/fx_basic_bstring_unittest.cpp')
-rw-r--r--core/fxcrt/fx_basic_bstring_unittest.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/fxcrt/fx_basic_bstring_unittest.cpp b/core/fxcrt/fx_basic_bstring_unittest.cpp
index a58169d039..e234989bf0 100644
--- a/core/fxcrt/fx_basic_bstring_unittest.cpp
+++ b/core/fxcrt/fx_basic_bstring_unittest.cpp
@@ -1047,12 +1047,6 @@ TEST(fxcrt, ByteStringFormatWidth) {
str.Format("%0d", 1);
EXPECT_EQ("1", str);
}
-
- {
- CFX_ByteString str;
- str.Format("%1048576d", 1);
- EXPECT_EQ("Bad width", str);
- }
}
TEST(fxcrt, ByteStringFormatPrecision) {
@@ -1085,12 +1079,6 @@ TEST(fxcrt, ByteStringFormatPrecision) {
str.Format("%0f", 1.12345);
EXPECT_EQ("1.123450", str);
}
-
- {
- CFX_ByteString str;
- str.Format("%.1048576f", 1.2);
- EXPECT_EQ("Bad precision", str);
- }
}
TEST(fxcrt, EmptyByteString) {