Skip to content

Commit

Permalink
Update tests/dbf_test.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Even Rouault <[email protected]>
  • Loading branch information
thbeu and rouault authored Mar 14, 2024
1 parent 3804db8 commit 0b06f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dbf_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static auto WriteDate(const fs::path &filename,
const std::unique_ptr<const SHPDate> &date) -> auto
{
const auto handle = DBFCreate(filename.string().c_str());
EXPECT_NE(nullptr, handle);
ASSERT_NE(nullptr, handle);
const auto fid = DBFAddField(handle, "date", FTDate, 8, 0);
EXPECT_GE(fid, 0);
const auto success = DBFWriteDateAttribute(handle, 0, fid, date.get());
Expand Down

0 comments on commit 0b06f93

Please sign in to comment.