Skip to content

Commit

Permalink
Merge pull request #433 from ArkScript-lang/feat/cpp-unittests
Browse files Browse the repository at this point in the history
Feat/cpp unittests
  • Loading branch information
SuperFola authored Feb 21, 2024
2 parents d982aef + bf7225d commit d78111d
Show file tree
Hide file tree
Showing 153 changed files with 1,362 additions and 3,707 deletions.
9 changes: 6 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@ BasedOnStyle: WebKit

AlignAfterOpenBracket: Align
AlignTrailingComments: true
AlignConsecutiveDeclarations: None
PointerAlignment: Left
ReferenceAlignment: Left

AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLambdasOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All

BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterCaseLabel: true
AfterControlStatement: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
Expand All @@ -35,7 +38,7 @@ IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All

SortIncludes: false
SortIncludes: Never

SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 2
Expand Down
3 changes: 1 addition & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ ci:

tests:
- tests/arkscript/*.ark
- tests/cpp/*.cpp
- tests/cpp/expected/*.txt
- tests/unittests/*
Loading

0 comments on commit d78111d

Please sign in to comment.