diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 00:45:32 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 00:45:32 +0900 |
| commit | 89f18dde856894eef23dde77a9257655725ba843 (patch) | |
| tree | 73d5ea34e16655e524fd00b807d03450953061b6 /test/GZipEncoderTest.cc | |
| parent | a879d75aaacce6c838b20c3c961b38182a1179b2 (diff) | |
Use nothrow version of parseInt, parseUInt and parseLLInt
Diffstat (limited to 'test/GZipEncoderTest.cc')
| -rw-r--r-- | test/GZipEncoderTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/GZipEncoderTest.cc b/test/GZipEncoderTest.cc index 8322d4a1..66f19f77 100644 --- a/test/GZipEncoderTest.cc +++ b/test/GZipEncoderTest.cc @@ -28,9 +28,9 @@ void GZipEncoderTest::testEncode() inputs.push_back("Hello World"); inputs.push_back("9223372036854775807"); inputs.push_back("Fox"); - + encoder << inputs[0]; - encoder << util::parseLLInt(inputs[1]); + encoder << (int64_t)9223372036854775807LL; encoder << inputs[2].c_str(); std::string gzippedData = encoder.str(); |
