fix(core): fix compile error

Compiling the tests failed in the container.
This commit is contained in:
Eberhard Beilharz 2025-01-08 17:08:57 +01:00
parent 93caf9b782
commit 9c8ad2e783
No known key found for this signature in database
GPG key ID: E9140597606020D3

View file

@ -56,10 +56,8 @@ TEST_F(KmCoreKeyboardApiTests, LoadFromBlobNull) {
// Setup
km::core::path kmxfile = "";
std::unique_ptr<uint8_t> data(new uint8_t[0]);
// Execute
auto status = km_core_keyboard_load_from_blob(kmxfile.stem().c_str(), data.get(), 0, &this->keyboard);
auto status = km_core_keyboard_load_from_blob(kmxfile.stem().c_str(), nullptr, 0, &this->keyboard);
// Verify
EXPECT_EQ(status, KM_CORE_STATUS_INVALID_ARGUMENT);