[libcxx-commits] [libcxx] 896770c - [libc++][NFC] Fix weird indentation in test

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 3 09:47:38 PDT 2022


Author: Louis Dionne
Date: 2022-04-03T12:47:28-04:00
New Revision: 896770c9a92e88e6adbf109424d9e66ab58905c9

URL: https://github.com/llvm/llvm-project/commit/896770c9a92e88e6adbf109424d9e66ab58905c9
DIFF: https://github.com/llvm/llvm-project/commit/896770c9a92e88e6adbf109424d9e66ab58905c9.diff

LOG: [libc++][NFC] Fix weird indentation in test

Added: 
    

Modified: 
    libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp b/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
index 54b6e4bf171ff..665554d109616 100644
--- a/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
+++ b/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp
@@ -12,9 +12,9 @@
 
 // bool failed() const throw();
 
+#include <cassert>
 #include <iterator>
 #include <sstream>
-#include <cassert>
 
 #include "test_macros.h"
 
@@ -25,7 +25,7 @@ struct my_streambuf : public std::basic_streambuf<Char,Traits> {
 
     my_streambuf() {}
     int_type sputc(char_type) { return Traits::eof(); }
-    };
+};
 
 int main(int, char**)
 {


        


More information about the libcxx-commits mailing list