File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4
4
set -o emacs
5
5
# Use bash strict mode
6
6
set -o posix
7
- # Unset `command_not_found_handle' as defined on Debian/Ubuntu, because this
7
+ # Unset `command_not_found_handle' as defined on Debian/Ubuntu, because this
8
8
# troubles and slows down testing
9
9
unset -f command_not_found_handle
10
10
# Set fixed prompt `/@'
Original file line number Diff line number Diff line change 2
2
expect_after {
3
3
eof {
4
4
if {[info exists test]} {
5
- fail "$test at eof"
5
+ fail "$test at eof"
6
6
} elseif {[info level] > 0} {
7
- fail "[info level 1] at eof"
7
+ fail "[info level 1] at eof"
8
8
} else {
9
9
fail "eof"
10
- }
11
- }
10
+ }
11
+ }
12
12
timeout {
13
13
if {[info exists test]} {
14
- fail "$test at timeout"
14
+ fail "$test at timeout"
15
15
} elseif {[info level] > 0} {
16
- fail "[info level 1] at timeout"
16
+ fail "[info level 1] at timeout"
17
17
} else {
18
- fail "timeout"
19
- }
20
- }
18
+ fail "timeout"
19
+ }
20
+ }
21
21
}
You can’t perform that action at this time.
0 commit comments