v2 / vlib / v / debug / tests / or_expr_scope.expect
12 lines · 9 sloc · 220 bytes · 4fc6c7e8a4d7745f9614a168d76d6758b26bc40e
Raw
1#!/usr/bin/env expect
2source "common.tcl"
3
4expect "Break on *main* in ${test_file}:7\r\n"
5
6expect "${test_file}:7 vdbg> "
7send "scope\n"
8expect "err = fail (IError)"
9
10expect "${test_file}:7 vdbg> "
11send "q\n"
12expect eof
13