Skip to content

Commit 271de4f

Browse files
committed
tests/plugin/callbacks/exception: ensure we have a column number
1 parent 1d3ad5a commit 271de4f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/plugin/callbacks/exception/input.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
<http://www.gnu.org/licenses/>.
1818
*/
1919

20+
int nonempty;

tests/plugin/callbacks/exception/stderr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/plugin/callbacks/exception/input.c:1:nn: error: Unhandled Python exception raised within callback
1+
tests/plugin/callbacks/exception/input.c:20:nn: error: Unhandled Python exception raised within callback
22
Traceback (most recent call last):
33
File "tests/plugin/callbacks/exception/script.py", line 22, in my_callback
44
raise RuntimeError("This is a test of raising an exception")

0 commit comments

Comments
 (0)