Move clang-format check to include tests (#1438)
* Move clang-format check to include tests
This commit is contained in:
parent
5af134b103
commit
4455ac577c
@ -138,7 +138,7 @@ jobs:
|
||||
echo "Check clang-formatting"
|
||||
brew install clang-format
|
||||
clang-format --version
|
||||
find sdk/ -regex '.*\.\(cpp\|hpp\)' -exec clang-format -style=file -i {} \;
|
||||
find ./sdk \( -iname '*.hpp' -o -iname '*.cpp' \) ! -iname 'json.hpp' -exec clang-format -i {} \;
|
||||
|
||||
if [[ `git status | grep modified | awk '{print $2}'` ]]; then
|
||||
echo Some files were not formatted correctly according to the .clang-format file.
|
||||
|
||||
@ -282,7 +282,7 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
EXPECT_NO_THROW(pathClient.SetPermissions(pathPermissions, options1));
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
#if 0
|
||||
TEST_F(DataLakePathClientTest, LeaseRelated)
|
||||
{
|
||||
std::string leaseId1 = CreateUniqueLeaseId();
|
||||
@ -343,7 +343,7 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
options.BreakPeriod = 0;
|
||||
m_pathClient->BreakLease(options);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
TEST_F(DataLakePathClientTest, ConstructorsWorks)
|
||||
{
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user