$darkmode
environment_test.cpp File Reference
#include <cstdlib>
#include <string>
#include <optional>
#include <gtest/gtest.h>
#include <fable/environment.hpp>
Include dependency graph for environment_test.cpp:

Macros

#define ENV_VAR_HOME   "HOME"
 
#define ENV_VAR_NONEXISTENT   "NONEXISTENT_ENTRY"
 

Functions

std::optional< std::string > getenv_optional (const std::string &key)
 
 TEST (fable_environment, get_variable)
 
 TEST (fable_environment, interpolate)
 

Detailed Description