aboutsummaryrefslogtreecommitdiff
path: root/examples/00-missing-main
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/00-missing-main
parent0df6725da8a0953c5643c5692c5244826e448d09 (diff)
Use JSON5 instead of TOML for config
Diffstat (limited to 'examples/00-missing-main')
-rw-r--r--examples/00-missing-main/shed.json514
-rw-r--r--examples/00-missing-main/shed.toml7
2 files changed, 14 insertions, 7 deletions
diff --git a/examples/00-missing-main/shed.json5 b/examples/00-missing-main/shed.json5
new file mode 100644
index 00000000..f7af8927
--- /dev/null
+++ b/examples/00-missing-main/shed.json5
@@ -0,0 +1,14 @@
+{
+ bins: [
+ {
+ name: "true",
+ mainNamespace: "True",
+ },
+ ],
+ examples: [
+ {
+ bin: "true",
+ expectedError: "Namespace True has no field main",
+ },
+ ],
+}
diff --git a/examples/00-missing-main/shed.toml b/examples/00-missing-main/shed.toml
deleted file mode 100644
index c01af0d7..00000000
--- a/examples/00-missing-main/shed.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-[[shed.bins]]
-name = "true"
-main-namespace = "True"
-
-[[shed.examples]]
-bin = "true"
-expected-error = "Namespace True has no field main"