[libcxx-commits] [libcxx] 5343897 - [libc++][NFC] Consistently reindent test cases for stringbuf
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 9 12:16:16 PDT 2021
Author: Louis Dionne
Date: 2021-09-09T15:16:08-04:00
New Revision: 53438979fece346b50186dc2b2a7c9d4ee1f9e7d
URL: https://github.com/llvm/llvm-project/commit/53438979fece346b50186dc2b2a7c9d4ee1f9e7d
DIFF: https://github.com/llvm/llvm-project/commit/53438979fece346b50186dc2b2a7c9d4ee1f9e7d.diff
LOG: [libc++][NFC] Consistently reindent test cases for stringbuf
Added:
Modified:
libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
index db50944864bbe..84110d3393d1e 100644
--- a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
+++ b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/overflow.pass.cpp
@@ -38,9 +38,10 @@ struct testbuf
int main(int, char**)
{
- { // sanity check
- testbuf<char> tb("");
- tb.overflow();
+ // sanity check
+ {
+ testbuf<char> tb("");
+ tb.overflow();
}
{
testbuf<char> sb("abc");
diff --git a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
index 0cd24ded18650..44293298bb554 100644
--- a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
+++ b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/pbackfail.pass.cpp
@@ -36,9 +36,10 @@ struct testbuf
int main(int, char**)
{
- { // sanity check
- testbuf<char> tb("");
- tb.pbackfail();
+ // sanity check
+ {
+ testbuf<char> tb("");
+ tb.pbackfail();
}
{
testbuf<char> sb("123", std::ios_base::in);
More information about the libcxx-commits
mailing list