mirror of
https://github.com/szymon-jozef/static-site-generator.git
synced 2026-09-07 20:20:41 +02:00
Added general config
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "config.hpp"
|
||||
#include <catch2/catch_all.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <string>
|
||||
|
||||
TEST_CASE("Checking config file read", "[config]") {
|
||||
@@ -10,4 +11,6 @@ TEST_CASE("Checking config file read", "[config]") {
|
||||
REQUIRE(config.contact.author == "author");
|
||||
REQUIRE(config.contact.email == "email@example.com");
|
||||
REQUIRE(config.contact.signal == "signal url");
|
||||
REQUIRE(config.general.lang == "en");
|
||||
REQUIRE(config.general.title == "Blog");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user