Commit f525545
committed
ExceptionFormatterSpec: filter GJS stack frames in AggregateError test
GJS adds internal frames like 'setTimeout/source' and
'GLib.MainLoop.prototype.runAsync' to stack traces. The test 'includes
all aggregated errors in the stack trace' expects exactly 10 lines after
filtering, but in GJS there are extra frames that the existing filters
don't catch.
Add a filter for 'resource:///org/gnome/gjs/' to exclude GJS internal
frames from the line count check.1 parent 6dcc22c commit f525545
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
384 | 386 | | |
385 | 387 | | |
386 | 388 | | |
| |||
0 commit comments