File: test_helper.bash

package info (click to toggle)
bats 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,016 kB
  • sloc: sh: 4,351; makefile: 33; python: 28; xml: 3
file content (19 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
help_me() {
  true
}

failing_helper() {
  false
}

return_0() {
  # Just return 0. Intentional assignment to boost line numbers
  result=0
  return $result
}

return_1() {
  # Just return 0. Intentional assignment to boost line numbers
  result=1
  return $result
}