aboutsummaryrefslogtreecommitdiff
path: root/examples/28-effect-in-handler
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-01-01 01:39:18 +0000
committerMichael Williamson <mike@zwobble.org>2025-01-01 09:45:58 +0000
commitb65c719e2b65a9662b6170b0b53dfed9f1a3edcd (patch)
tree6700b1a717d01a83b644dd06eb508e12a43b492c /examples/28-effect-in-handler
parent0df6725da8a0953c5643c5692c5244826e448d09 (diff)
Use JSON5 instead of TOML for config
Diffstat (limited to 'examples/28-effect-in-handler')
-rw-r--r--examples/28-effect-in-handler/shed.json514
-rw-r--r--examples/28-effect-in-handler/shed.toml7
2 files changed, 14 insertions, 7 deletions
diff --git a/examples/28-effect-in-handler/shed.json5 b/examples/28-effect-in-handler/shed.json5
new file mode 100644
index 00000000..cb9b7f24
--- /dev/null
+++ b/examples/28-effect-in-handler/shed.json5
@@ -0,0 +1,14 @@
+{
+ bins: [
+ {
+ name: "example",
+ mainNamespace: "Example",
+ },
+ ],
+ examples: [
+ {
+ bin: "example",
+ expectedOutput: "a outer\na inner start\na outer\na inner end\nb start\na inner start\na outer\na inner end\nb end\na inner start\na outer\na inner end\na outer",
+ },
+ ],
+}
diff --git a/examples/28-effect-in-handler/shed.toml b/examples/28-effect-in-handler/shed.toml
deleted file mode 100644
index fc01b961..00000000
--- a/examples/28-effect-in-handler/shed.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-[[shed.bins]]
-name = "example"
-main-namespace = "Example"
-
-[[shed.examples]]
-bin = "example"
-expected-output = "a outer\na inner start\na outer\na inner end\nb start\na inner start\na outer\na inner end\nb end\na inner start\na outer\na inner end\na outer"