diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-14 16:08:22 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-14 16:24:03 +0000 |
commit | 992e6a6bbe7fb7ae5d122c65c07843655a78cb57 (patch) | |
tree | 388716daa313ac58eec25b613a8cffef78eae268 /vespalib/src/tests/objects | |
parent | d7ade13fee737d8b214bb87c164684fdfcb6970f (diff) |
Prefer std::vector
Diffstat (limited to 'vespalib/src/tests/objects')
-rw-r--r-- | vespalib/src/tests/objects/nbostream/nbostream_test.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vespalib/src/tests/objects/nbostream/nbostream_test.cpp b/vespalib/src/tests/objects/nbostream/nbostream_test.cpp index 5d7f5c0504b..20ea2bf5aaa 100644 --- a/vespalib/src/tests/objects/nbostream/nbostream_test.cpp +++ b/vespalib/src/tests/objects/nbostream/nbostream_test.cpp @@ -216,16 +216,6 @@ TEST_F("Test serializing vespalib::string", Fixture) f.assertSerialize(exp, val); } -TEST_F("Test serializing vespalib::Array", Fixture) -{ - vespalib::Array<int16_t> val; - val.resize(2); - val[0] = 0x0123; - val[1] = 0x4567; - ExpBuffer exp({ 0x00, 0x00, 0x00, 0x02, 0x01, 0x23, 0x45, 0x67 }); - f.assertSerialize(exp, val); -} - TEST_F("Test serializing std::vector", Fixture) { std::vector<int16_t> val({ 0x0123, 0x4567 }); |