summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-10-20 11:52:50 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-10-20 11:52:50 +0200
commitec20fd35447fea2a5da8538260397cea24051db5 (patch)
treeee18c998d8fc87d546f712e97df34c018cb52aed /tests
parentdf4c339cfce15ccc5406bc7763eac4daf9b8c76f (diff)
downloadNim-ec20fd35447fea2a5da8538260397cea24051db5.tar.gz
fix #12426 (#12462)
Diffstat (limited to 'tests')
-rw-r--r--tests/untestable/gdb/gdb_pretty_printer_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untestable/gdb/gdb_pretty_printer_test.py b/tests/untestable/gdb/gdb_pretty_printer_test.py
index 54af65d9a..f002941ec 100644
--- a/tests/untestable/gdb/gdb_pretty_printer_test.py
+++ b/tests/untestable/gdb/gdb_pretty_printer_test.py
@@ -22,6 +22,9 @@ outputs = [
 ]
 
 for i, expected in enumerate(outputs):
+  functionSymbol = gdb.selected_frame().block().function
+  assert functionSymbol.line == 21
+
   if i == 5:
     # myArray is passed as pointer to int to myDebug. I look up myArray up in the stack
     gdb.execute("up")