Commit 12c9d00 1 parent 2e0f748 commit 12c9d00 Copy full SHA for 12c9d00
File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- PRISM_FIXTURES_DIR=test/fixtures/prism/test/prism/fixtures
4
-
5
- if [ ! -d " $PRISM_FIXTURES_DIR " ]; then
6
- echo " $PRISM_FIXTURES_DIR does not exist."
7
- echo " Please run 'git submodule update --init' to pull submodule fixtures."
8
- exit 1
9
- fi
10
-
11
3
if [[ 2 -eq $# ]]; then
12
4
bundle exec rake TEST=" $1 " TESTOPTS=" -n='/$2 /'"
13
5
elif [[ 1 -eq $# ]]; then
Original file line number Diff line number Diff line change @@ -299,6 +299,10 @@ def baz; end
299
299
end
300
300
301
301
def test_indexing_prism_fixtures_succeeds
302
+ unless Dir . exist? ( "test/fixtures/prism/test/prism/fixtures" )
303
+ raise "Prism fixtures not found. Run `git submodule update --init` to fetch them."
304
+ end
305
+
302
306
fixtures = Dir . glob ( "test/fixtures/prism/test/prism/fixtures/**/*.txt" )
303
307
304
308
fixtures . each do |fixture |
You can’t perform that action at this time.
0 commit comments