xaizek / dit (License: GPLv3) (since 2018-12-07)
Command-line task keeper that remembers all old values and is meant to combine several orthogonal features to be rather flexible in managing items.
Commit 5b157d7833e1acae8c4a553786e3b969223c0231

Fix build warnings in tests
Author: xaizek
Author date (UTC): 2026-06-17 12:52
Committer name: xaizek
Committer date (UTC): 2026-06-17 12:52
Parent(s): 9137e8073ef6826e49a204ebf03f4f33cd3f7e57
Signing key: 99DC5E4DB05F6BE2
Tree: 24a874fa12d48d0eed51e4e10cd77c1efce21478
File Lines added Lines deleted
tests/Config.cpp 1 2
tests/IdGenerator.cpp 1 1
File tests/Config.cpp changed (mode: 100644) (index d874cac..af65dca)
... ... TEST_CASE("Loading file of wrong format throws exception", "[config]")
92 92 Config child("tests/main.cpp"); Config child("tests/main.cpp");
93 93
94 94 namespace pt = boost::property_tree; namespace pt = boost::property_tree;
95 REQUIRE_THROWS_AS(child.get("key", "v") == "value",
96 const pt::info_parser_error &);
95 REQUIRE_THROWS_AS(child.get("key", "v"), const pt::info_parser_error &);
97 96 } }
File tests/IdGenerator.cpp changed (mode: 100644) (index 4a0add0..5bfc0ab)
... ... TEST_CASE("All IDs are distinct", "[ids]")
93 93 } }
94 94
95 95 std::sort(ids.begin(), ids.end()); std::sort(ids.begin(), ids.end());
96 std::unique(ids.begin(), ids.end());
96 ids.erase(std::unique(ids.begin(), ids.end()), ids.end());
97 97
98 98 REQUIRE(ids.size() == 10*10*10*10*10); REQUIRE(ids.size() == 10*10*10*10*10);
99 99 } }
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master