Skip to content

Commit 8e498cc

Browse files
committed
Try a jldoctest
1 parent 8b2c2e7 commit 8e498cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/tutorial.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ integral(f, curve) # -> Approximately 2π Ω
8181
The alias function `lineintegral` works for this geometry since it has one
8282
parametric dimension. However, the aliases `surfaceintegral` and `volumeintegral`
8383
will throw an `ArgumentError` since the geometry is not a surface or volume.
84-
```@example tutorial
84+
```jldoctest tutorial
8585
lineintegral(f, curve) # -> Approximately 2π Ω
8686
8787
surfaceintegral(f, curve) # -> throws ArgumentError
88+
ERROR: ArgumentError: Performing a surface integral on a geometry with 1 parametric dimensions not supported.
8889
8990
volumeintegral(f, curve) # -> throws ArgumentError
91+
ERROR: ArgumentError: Performing a volume integral on a geometry with 1 parametric dimensions not supported.
9092
```
9193

9294
An `IntegrationRule` with settings can also be manually specified. The following

0 commit comments

Comments
 (0)