Skip to content

Commit 6accac6

Browse files
committed
Add a test for FATAL error when reading header-include-
the test uses `printMessages` with INFO level because somehow the `fail()` call in LUA does not log as error and so `noErrors` verify check does not catch the error.
1 parent 13765bc commit 6accac6

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.quarto/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
project:
2+
type: default
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
format: html
3+
engine: julia
4+
_quarto:
5+
tests:
6+
html:
7+
printsMessage:
8+
level: INFO
9+
regex: 'FATAL[\s\S]*Error resolving header-includes'
10+
negate: true
11+
---
12+
13+
```{julia}
14+
?for
15+
```

0 commit comments

Comments
 (0)