Remove code formatters.

- Maybe these should be returned if the output is a diff with the
  current file.
- bcpp, uncrustify, gofmt, clang_format.
This commit is contained in:
Andrew Hamilton 2019-05-17 11:10:45 +10:00
parent a7bec363af
commit 5fcdd0ea50
9 changed files with 10 additions and 83 deletions

View file

@ -1,8 +0,0 @@
(B#include(B (B<iostream>(B (B
(B (B
(Busing(B (Bnamespace(B std;(B (B
(B (B
(Bint(B (Bmain(B()(B (B
(B{(B (B
(B cout << (B"Hello World"(B << endl;(B
(B}(B (B

View file

@ -1,7 +0,0 @@
(B#include(B (B<stdio.h>(B (B
(B (B
(Bint(B (Bmain(B()(B (B
(B{(B (B
(B printf((B"Hello World\n"(B);(B
(B (Breturn(B (B0(B;(B (B
(B}(B (B

View file

@ -1,8 +0,0 @@
(B#include(B (B<iostream>(B (B
(B (B
(Busing(B (Bnamespace(B std;(B (B
(B (B
(Bint(B (Bmain(B()(B (B
(B{(B (B
(B cout << (B"Hello World"(B << endl;(B
(B}(B (B

View file

@ -1,6 +0,0 @@
(B#ifndef HELLO_H(B
(B#define HELLO_H(B
(B (B
(Bvoid(B (Bhello(B();(B (B
(B (B
(B#endif(B (B

View file

@ -154,13 +154,6 @@ class ToolsTestCase(unittest.TestCase):
# self._test_tool(tools.perl6_syntax,
# [("perl6.p6", tools.Status.problem)])
def test_uncrustify(self):
self._test_tool(tools.uncrustify,
[("closure-util.java", tools.Status.problem),
("hello.c", tools.Status.normal),
("hello.h", tools.Status.normal),
("hello.cpp", tools.Status.normal)])
def test_c_syntax_gcc(self):
self._test_tool(tools.c_syntax_gcc, [("hello.c", tools.Status.ok)])
@ -204,9 +197,6 @@ class ToolsTestCase(unittest.TestCase):
def test_cpp_syntax_gcc(self):
self._test_tool(tools.cpp_syntax_gcc, [("hello.cpp", tools.Status.ok)])
def test_bcpp(self):
self._test_tool(tools.bcpp, [("hello.cpp", tools.Status.normal)])
def test_php7_syntax(self):
self._test_tool(tools.php7_syntax, [("root.php", tools.Status.ok)])