summary refs log tree commit diff stats
path: root/tests/nimdoc/trunnableexamples.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nimdoc/trunnableexamples.nim')
-rw-r--r--tests/nimdoc/trunnableexamples.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nimdoc/trunnableexamples.nim b/tests/nimdoc/trunnableexamples.nim
index ac7a0e26f..c88d8fa3f 100644
--- a/tests/nimdoc/trunnableexamples.nim
+++ b/tests/nimdoc/trunnableexamples.nim
@@ -65,7 +65,7 @@ when true: # issue #12746
     runnableExamples:
       try:
         discard
-      except:
+      except CatchableError:
         # just the general except will work
         discard