mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-03 01:27:44 +00:00
fix(core): fix compile error
Compiling the tests failed in the container.
This commit is contained in:
parent
93caf9b782
commit
9c8ad2e783
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue