Skip to content

Commit

Permalink
[libromdata/tests] FilterCacheKeyTest, filterCacheKey_EINVAL: Missing…
Browse files Browse the repository at this point in the history
… ')'.

src\libcachecommon\tests\FilterCacheKeyTest.cpp(240): fatal error C1057: unexpected end of file in macro expansion
  • Loading branch information
GerbilSoft committed Jan 19, 2025
1 parent 72a126f commit 8d1ba29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcachecommon/tests/FilterCacheKeyTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ TEST_F(FilterCacheKeyTest, filterCacheKey_EINVAL)
char cache_key[2] = {'\0', '\0'};

// Test NULL pointer.
EXPECT_EQ(-EINVAL, LibCacheCommon::filterCacheKey(static_cast<char*>(nullptr));
EXPECT_EQ(-EINVAL, LibCacheCommon::filterCacheKey(static_cast<char*>(nullptr)));

// Test an empty string.
EXPECT_EQ(-EINVAL, LibCacheCommon::filterCacheKey(cache_key));
Expand Down

0 comments on commit 8d1ba29

Please sign in to comment.