mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #352 from kiwix/small-compilation-error-fix
Fix small compilation error in tests
This commit is contained in:
commit
4f8b397081
|
@ -280,10 +280,11 @@ TEST_F(ServerTest, ETagHeaderIsSetAsNeeded)
|
|||
for ( const Resource& res : all200Resources() ) {
|
||||
const auto responseToGet = zfs1_->GET(res.url);
|
||||
EXPECT_EQ(res.etag_expected, responseToGet->has_header("ETag")) << res;
|
||||
if ( res.etag_expected )
|
||||
if ( res.etag_expected ) {
|
||||
EXPECT_TRUE(is_valid_etag(responseToGet->get_header_value("ETag")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TEST_F(ServerTest, ETagIsTheSameInResponsesToDifferentRequestsOfTheSameURL)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue