summaryrefslogtreecommitdiff
path: root/internal/config/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/testdata')
-rw-r--r--internal/config/testdata/full.conf7
-rw-r--r--internal/config/testdata/malformed.conf2
-rw-r--r--internal/config/testdata/partial.conf2
-rw-r--r--internal/config/testdata/system.conf7
4 files changed, 18 insertions, 0 deletions
diff --git a/internal/config/testdata/full.conf b/internal/config/testdata/full.conf
new file mode 100644
index 0000000..1f703f0
--- /dev/null
+++ b/internal/config/testdata/full.conf
@@ -0,0 +1,7 @@
+[serve]
+addr = 127.0.0.1:8080
+
+[instance]
+name = Full Store
+contact-email = full@store.com
+base-url = https://full.store.com
diff --git a/internal/config/testdata/malformed.conf b/internal/config/testdata/malformed.conf
new file mode 100644
index 0000000..327aace
--- /dev/null
+++ b/internal/config/testdata/malformed.conf
@@ -0,0 +1,2 @@
+[instance
+name = Unclosed Section
diff --git a/internal/config/testdata/partial.conf b/internal/config/testdata/partial.conf
new file mode 100644
index 0000000..e84544d
--- /dev/null
+++ b/internal/config/testdata/partial.conf
@@ -0,0 +1,2 @@
+[instance]
+name = Only Name Set
diff --git a/internal/config/testdata/system.conf b/internal/config/testdata/system.conf
new file mode 100644
index 0000000..f2533a8
--- /dev/null
+++ b/internal/config/testdata/system.conf
@@ -0,0 +1,7 @@
+[serve]
+addr = 127.0.0.1:9999
+
+[instance]
+name = System Store
+contact-email = system@store.com
+base-url = https://system.store.com