Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
- fix formatting
  • Loading branch information
Alex Revetchi committed Oct 6, 2021
commit 77d4cd57e377e1c5bd0cbf143b968279708c7f09
4 changes: 2 additions & 2 deletions tests/src/unit/tests/test_value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ TEST(ValueUnitTest, NullInNextRow) {
DataType::ConstPtr data_type(new DataType(CASS_VALUE_TYPE_INT));

// Size (int32_t) and contents of element
const signed char input[8] = {0, 0, 0, 4, 0, 0, 0, 2};
const signed char input[8] = { 0, 0, 0, 4, 0, 0, 0, 2 };
Decoder decoder((const char*)input, 12);

// init with a non null column in a row
Value value(data_type, 2, decoder);
EXPECT_FALSE(value.is_null());

const signed char null_input[4] = {-1, 1, 1, 1};
const signed char null_input[4] = { -1, 1, 1, 1 };
Decoder null_decoder((const char*)null_input, 4);

// simulate next row null value in the column
Expand Down