Skip to content

Commit 9aef781

Browse files
committed
Update shell script
1 parent 9ee48d7 commit 9aef781

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎.kokoro/tests/run_tests.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ if [[ ",$JAVA_VERSION," =~ "11" ]]; then
102102
cd ../../
103103
fi
104104

105-
build_files="pom.xml build.gradle *.sbt"
105+
BUILD_FILE_PATTERNS="pom.xml build.gradle *.sbt"
106106

107-
for build_file in build_files; do
107+
for pattern in $BUILD_FILE_PATTERNS; do
108108
btlr_args=(
109109
"run"
110110
"--max-cmd-duration=40m"
111-
"**/${build_file}"
111+
"**/${pattern}"
112112
)
113113

114114
if [ -n "$GIT_DIFF" ]; then

‎asset/src/test/java/com/example/asset/QuickStartIT.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ public void setUp() {
7979
System.setOut(out);
8080
}
8181

82-
83-
8482
@After
8583
public void tearDown() {
8684
// restores print statements in the original method

0 commit comments

Comments
 (0)