mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Updated unit tests
-Added tests for functions -Added error class and return from package manager functions -Updated `compile.sh` script
This commit is contained in:
parent
d4b1ea90c6
commit
5ffce72fa5
7 changed files with 109 additions and 42 deletions
|
|
@ -75,7 +75,7 @@ namespace gdpm::log
|
|||
);
|
||||
}
|
||||
|
||||
template <typename S, typename...Args>
|
||||
template <typename S = std::string, typename...Args>
|
||||
static constexpr void println(const S& format, Args&&...args){
|
||||
vlog(
|
||||
fmt::format("{}\n", format),
|
||||
|
|
@ -84,4 +84,9 @@ namespace gdpm::log
|
|||
);
|
||||
}
|
||||
|
||||
template <typename>
|
||||
static constexpr void println(const std::string& format = ""){
|
||||
println(format);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue