summaryrefslogtreecommitdiff
path: root/asl/format_tests.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-10-11 00:32:49 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-20 15:35:58 +0100
commitf011d871ef3af26c8f4e19de2c8d781c601ceffb (patch)
treeac3611e6fa054cc0f8870aad524b263ff917057f /asl/format_tests.cpp
parente020805cb140ed98d09e606a867b910fce78ad15 (diff)
Add console printing
Diffstat (limited to 'asl/format_tests.cpp')
-rw-r--r--asl/format_tests.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}