From f011d871ef3af26c8f4e19de2c8d781c601ceffb Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Fri, 11 Oct 2024 00:32:49 +0200 Subject: Add console printing --- asl/format_tests.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'asl/format_tests.cpp') diff --git a/asl/format_tests.cpp b/asl/format_tests.cpp index 55ed97b..818773b 100644 --- a/asl/format_tests.cpp +++ b/asl/format_tests.cpp @@ -98,5 +98,9 @@ int main() asl::format(&sink, "{} {} {} {}", -1, -23, -456, -7890); assert(strcmp(sink.cstr(), "-1 -23 -456 -7890") == 0); + sink.reset(); + asl::format(&sink, "{} {}", true, false); + assert(strcmp(sink.cstr(), "true false") == 0); + return 0; } -- cgit