minor changes

This commit is contained in:
Katarzyna Miernikiewicz 2020-09-28 14:45:16 +00:00
parent a7077093af
commit 17b3f78f94
2 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ absl::Status JsonnetMain(std::string in_file, std::string out_file) {
JsonnetApi api(&sandbox);
// Initialize library's main structure.
SAPI_ASSIGN_OR_RETURN(JsonnetVm* jsonnet_vm, api.c_jsonnet_make());
SAPI_ASSIGN_OR_RETURN(JsonnetVm * jsonnet_vm, api.c_jsonnet_make());
sapi::v::RemotePtr vm_pointer(jsonnet_vm);
// Read input file.

View File

@ -23,9 +23,9 @@
#include "gtest/gtest.h"
#include "jsonnet_base_sandbox.h" // NOLINT(build/include)
#include "jsonnet_sapi.sapi.h"
#include "sandboxed_api/sandbox2/util/path.h"
#include "sandboxed_api/util/flag.h"
#include "sandboxed_api/util/status_matchers.h"
#include "sandboxed_api/sandbox2/util/path.h"
class JsonnetTestHelper {
protected:
@ -35,8 +35,7 @@ class JsonnetTestHelper {
void TestTearDown();
void Read_input(const char* filename);
void Evaluate_jsonnet_code(Evaluation type,
bool expected_correct);
void Evaluate_jsonnet_code(Evaluation type, bool expected_correct);
void Write_output(const char* filename_or_directory, Evaluation type);
std::string Read_output(const char* filename);