From 17b3f78f9476a7222ecc1d7b599c29ffdc9ba7ec Mon Sep 17 00:00:00 2001 From: Katarzyna Miernikiewicz Date: Mon, 28 Sep 2020 14:45:16 +0000 Subject: [PATCH] minor changes --- oss-internship-2020/jsonnet/examples/jsonnet_base_example.cc | 2 +- oss-internship-2020/jsonnet/headers/jsonnet_tests.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/oss-internship-2020/jsonnet/examples/jsonnet_base_example.cc b/oss-internship-2020/jsonnet/examples/jsonnet_base_example.cc index 739925a..9682f47 100644 --- a/oss-internship-2020/jsonnet/examples/jsonnet_base_example.cc +++ b/oss-internship-2020/jsonnet/examples/jsonnet_base_example.cc @@ -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. diff --git a/oss-internship-2020/jsonnet/headers/jsonnet_tests.h b/oss-internship-2020/jsonnet/headers/jsonnet_tests.h index 6bd7d77..e869342 100644 --- a/oss-internship-2020/jsonnet/headers/jsonnet_tests.h +++ b/oss-internship-2020/jsonnet/headers/jsonnet_tests.h @@ -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);