Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
danctorres committed Nov 15, 2024
1 parent 431d135 commit 26d43f6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check_pr_description.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# yamllint disable rule:line-length
---
name: PR description
on: # yamllint disable-line rule:truthy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
pip install yamllint
- name: Lint YAML files
run: |-
if echo "${{ steps.changed_files.outputs.all }}" | grep -qE '\.(yml|yaml)$'; then
if echo "${{ steps.changed_files.outputs.all }}" | grep -oE '\.(yml|yaml)$'; then
echo -e "Running yamllint"
yamllint . || exit 1
else
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ cc_test(
name = "test",
srcs = ["test.cpp"],
deps = [
":lib",
"@googletest//:gtest",
"@googletest//:gtest_main",
":lib",
],
)
4 changes: 3 additions & 1 deletion examples/cpp/hello.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <string>

auto greet() -> std::string { return "Hello World!"; }
std::string greet( ){
return "Hello World!";
}

auto farewell() -> std::string { return "Bye World!"; }
2 changes: 1 addition & 1 deletion examples/cpp/hello.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <string>

auto greet() -> std::string;
std::string greet();
auto farewell() -> std::string;

0 comments on commit 26d43f6

Please sign in to comment.