aboutsummaryrefslogtreecommitdiff
path: root/examples/19-function-expression
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/19-function-expression
parent0df6725da8a0953c5643c5692c5244826e448d09 (diff)
Use JSON5 instead of TOML for config
Diffstat (limited to 'examples/19-function-expression')
-rw-r--r--examples/19-function-expression/shed.json514
-rw-r--r--examples/19-function-expression/shed.toml7
2 files changed, 14 insertions, 7 deletions
diff --git a/examples/19-function-expression/shed.json5 b/examples/19-function-expression/shed.json5
new file mode 100644
index 00000000..e08441e6
--- /dev/null
+++ b/examples/19-function-expression/shed.json5
@@ -0,0 +1,14 @@
+{
+ bins: [
+ {
+ name: "hello-world",
+ mainNamespace: "HelloWorld",
+ },
+ ],
+ examples: [
+ {
+ bin: "hello-world",
+ expectedOutput: "hello, world",
+ },
+ ],
+}
diff --git a/examples/19-function-expression/shed.toml b/examples/19-function-expression/shed.toml
deleted file mode 100644
index bf5c13c4..00000000
--- a/examples/19-function-expression/shed.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-[[shed.bins]]
-name = "hello-world"
-main-namespace = "HelloWorld"
-
-[[shed.examples]]
-bin = "hello-world"
-expected-output = "hello, world"