diff options
Diffstat (limited to 'asl/format_tests.cpp')
-rw-r--r-- | asl/format_tests.cpp | 4 |
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;
}
|