~ fixed clang tidy errors

This commit is contained in:
Julian Hinxlage 2019-11-19 12:26:31 +01:00
parent 75ef9fb361
commit 0090b248cf
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include <iostream> #include <iostream>
#include "vkvm.hpp"
#include "internal.hpp" #include "internal.hpp"
#include "vkvm.hpp"
int main() { int main() {
vkvm::initialize(0); vkvm::initialize(0);

View File

@ -1,5 +1,6 @@
#include "demo.h" #include "demo.h"
int test() { int test() {
return 42; const int returnValue = 42;
return returnValue;
} }

View File

@ -1,5 +1,5 @@
#include <catch2/catch.hpp>
#include "../src/demo.h" #include "../src/demo.h"
#include <catch2/catch.hpp>
TEST_CASE("Demo test") { TEST_CASE("Demo test") {
REQUIRE(test() == 42); REQUIRE(test() == 42);