File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function scala3_example() {
21
21
}
22
22
23
23
function test_produces_semanticdb_scala3() {
24
- # NB: In subshell, so CD doesn't change local CWD
24
+ # NB: In subshell, so "cd" doesn't change local CWD
25
25
(
26
26
cd examples/testing/semanticdb_scala3
27
27
bazel run --extra_toolchains=//:semanticdb_toolchain //:run
Original file line number Diff line number Diff line change @@ -37,25 +37,5 @@ test_no_semanticdb() {
37
37
fi
38
38
}
39
39
40
- test_produces_semanticdb_scala3 () {
41
- # NB: In subshell, so CD doesn't change local CWD
42
- (
43
- cd test/semanticdb/scala3
44
- bazel run --extra_toolchains=//:semanticdb_toolchain //:run
45
-
46
- local OUT_DIR=" $( bazel info bazel-bin) /all.semanticdb"
47
- if [ ! -d " $OUT_DIR " ]; then
48
- echo " No SemanticDB out directory"
49
- exit 1
50
- fi
51
-
52
- local SIZE=$( du -s $OUT_DIR | cut -f1)
53
- if (( SIZE < 8 )) ; then
54
- echo " No SemanticDb files produced"
55
- exit 1
56
- fi
57
- )
58
- }
59
-
60
40
$runner test_produces_semanticdb
61
41
$runner test_no_semanticdb
You can’t perform that action at this time.
0 commit comments