mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Reformat code with clang format
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <catch2/generators/catch_generators.hpp>
|
||||
|
||||
#include "Parsing/Impl/PackDefinitionStreamProxy.h"
|
||||
#include "Parsing/Mock/MockParserLineStream.h"
|
||||
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <catch2/generators/catch_generators.hpp>
|
||||
|
||||
namespace test::parsing::impl::pack_definition_stream_proxy
|
||||
{
|
||||
void ExpectLine(IParserLineStream* stream, const int lineNumber, const std::string& value)
|
||||
@ -15,14 +15,7 @@ namespace test::parsing::impl::pack_definition_stream_proxy
|
||||
|
||||
TEST_CASE("PackDefinitionStreamProxy: Ensure simple pack directives are working", "[parsing][parsingstream]")
|
||||
{
|
||||
const std::vector<std::string> lines
|
||||
{
|
||||
"hello world",
|
||||
"#pragma pack(push, 32)",
|
||||
"hello galaxy",
|
||||
"#pragma pack(pop)",
|
||||
"hello universe"
|
||||
};
|
||||
const std::vector<std::string> lines{"hello world", "#pragma pack(push, 32)", "hello galaxy", "#pragma pack(pop)", "hello universe"};
|
||||
|
||||
MockParserLineStream mockStream(lines);
|
||||
PackDefinitionStreamProxy proxy(&mockStream);
|
||||
@ -37,4 +30,4 @@ namespace test::parsing::impl::pack_definition_stream_proxy
|
||||
|
||||
REQUIRE(proxy.Eof());
|
||||
}
|
||||
}
|
||||
} // namespace test::parsing::impl::pack_definition_stream_proxy
|
||||
|
Reference in New Issue
Block a user