Skip to content

Commit

Permalink
adfgdfgsdfg
Browse files Browse the repository at this point in the history
  • Loading branch information
diachenko-mischa committed Apr 25, 2024
1 parent 1a0465a commit e68a1a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:
with:
python-version: '3.x'
cache: 'pip' # caching pip dependencies

- uses: ammaraskar/gcc-problem-matcher@master

- name: Install PIP packages
run: pip install -r requirements.txt

- uses: ammaraskar/gcc-problem-matcher@master


- name: Check code formatting
run: clang-format -n -Werror `find src -name '*.cpp'`
Expand Down
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

struct Foobar {
public:
explicit Foobar(int value) : _helloField(value) {}
explicit Foobar(int value) : mhelloField(value) {}

[[nodiscard]] int value() const { return _helloField; }
[[nodiscard]] int value() const { return mhelloField; }

private:
int _helloField;
int mhelloField;

Check failure on line 13 in src/main.cpp

View workflow job for this annotation

GitHub Actions / Linter

invalid case style for private member 'mhelloField' [readability-identifier-naming,-warnings-as-errors]
};

TEST(Foobar, goodTest) {
Expand Down

0 comments on commit e68a1a4

Please sign in to comment.