mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 23:51:00 +01:00
18 lines
392 B
C++
18 lines
392 B
C++
#include "gmock/gmock.h"
|
|
#include <gtest/gtest.h>
|
|
|
|
#include "nix_api_fetchers.h"
|
|
#include "nix/store/tests/nix_api_store.hh"
|
|
|
|
namespace nixC {
|
|
|
|
TEST_F(nix_api_store_test, nix_api_fetchers_new_free)
|
|
{
|
|
nix_fetchers_settings * settings = nix_fetchers_settings_new(ctx);
|
|
assert_ctx_ok();
|
|
ASSERT_NE(nullptr, settings);
|
|
|
|
nix_fetchers_settings_free(settings);
|
|
}
|
|
|
|
} // namespace nixC
|