gtest.cpp 265 B

123456789101112
  1. #include "gtest.h"
  2. #include <library/cpp/testing/common/env.h>
  3. std::optional<std::string_view> NGTest::GetTestParam(std::string_view name) {
  4. auto val = ::GetTestParam(name);
  5. if (val.empty()) {
  6. return {};
  7. } else {
  8. return {val};
  9. }
  10. }