commit ca46a157cbfb8dcb3e4cf826cb819e256827bf63
parent 63332d309204b50fed4231e8b88a7086a8939c88
Author: Andrew Laack <andrew@laack.co>
Date: Mon, 28 Sep 2026 13:01:00 -0500
Added rapidcheck to test build for future use
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk
@@ -4,7 +4,7 @@ PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
LIBS = -lssl -lcrypto -lncursesw
-TLIBS = -lCatch2Main -lCatch2 ${LIBS}
+TLIBS = -lCatch2Main -lCatch2 -lrapidcheck ${LIBS}
CC = g++
diff --git a/tests/pure-test.cpp b/tests/pure-test.cpp
@@ -1,4 +1,5 @@
// Testing pure functions
+
#include <catch2/catch_test_macros.hpp>
#include <climits>
#include <cstdlib>
@@ -186,7 +187,6 @@ TEST_CASE("Test line parsing handles whitespace correctly") {
std::string acc = options[rand() % 2];
- // TODO: Should add tests for non-human readable links as well.
for(int x = 0; x < 10; ++x) {
for(int i = 0; i < 10; ++i) {
std::string check = "=>" + acc + "gemini://laack.co" + acc + "link human text";