Skip to content

Commit 3c30cb6

Browse files
committed
Follow renaming of bats-core to bats-support
1 parent 5f0d8a5 commit 3c30cb6

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: bash
22
before_install:
33
- ./script/install-bats.sh
4-
- git clone --depth 1 https://github.com/ztombol/bats-core ../bats-core
4+
- git clone --depth 1 https://github.com/ztombol/bats-support ../bats-support
55
before_script:
66
- export PATH="${HOME}/.local/bin:${PATH}"
77
script:

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88

99
Assertions are functions that perform a test and output relevant
1010
information on failure to help debugging. They return 1 on failure and 0
11-
otherwise. Output, [formatted][bats-core-output] for readability, is
11+
otherwise. Output, [formatted][bats-support-output] for readability, is
1212
sent to the standard error to make assertions usable outside of `@test`
1313
blocks too.
1414

1515
Assertions testing exit code and output operate on the results of the
1616
most recent invocation of `run`.
1717

1818
Dependencies:
19-
- [`bats-core`][bats-core] - output formatting
19+
- [`bats-support`][bats-support] (formerly `bats-core`) - output
20+
formatting
2021

2122
See the [shared documentation][bats-docs] to learn how to install and
2223
load this library.
@@ -676,7 +677,7 @@ refute_line -- '--'
676677
<!-- REFERENCES -->
677678

678679
[bats]: https://github.com/sstephenson/bats
679-
[bats-core-output]: https://github.com/ztombol/bats-core#output-formatting
680-
[bats-core]: https://github.com/ztombol/bats-core
680+
[bats-support-output]: https://github.com/ztombol/bats-support#output-formatting
681+
[bats-support]: https://github.com/ztombol/bats-support
681682
[bats-docs]: https://github.com/ztombol/bats-docs
682683
[bash-comp-cmd]: https://www.gnu.org/software/bash/manual/bash.html#Compound-Commands

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"version": "0.1.0",
44
"private": true,
55
"peerDependencies": {
6-
"bats-core": "git+https://github.com/ztombol/bats-core.git#v0.1.0"
6+
"bats-support": "git+https://github.com/ztombol/bats-support.git#v0.1.0"
77
}
88
}

test/50-assert-10-fail.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ load test_helper
99
}
1010

1111
@test 'fail(): reads <message> from STDIN' {
12-
run bash -c "source '${TEST_DEPS_DIR}/bats-core/load.bash'
12+
run bash -c "source '${TEST_DEPS_DIR}/bats-support/load.bash'
1313
source '${TEST_MAIN_DIR}/load.bash'
1414
echo 'message' | fail"
1515
[ "$status" -eq 1 ]

test/test_helper.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ setup() {
33
export TEST_DEPS_DIR="${TEST_DEPS_DIR-${TEST_MAIN_DIR}/..}"
44

55
# Load dependencies.
6-
load "${TEST_DEPS_DIR}/bats-core/load.bash"
6+
load "${TEST_DEPS_DIR}/bats-support/load.bash"
77

88
# Load library.
99
load '../load'

0 commit comments

Comments
 (0)