summaryrefslogtreecommitdiffstats
path: root/third_party/rust/lucet-module-wasmsbx/tests/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/lucet-module-wasmsbx/tests/bindings')
-rw-r--r--third_party/rust/lucet-module-wasmsbx/tests/bindings/bad_bindings.json3
-rw-r--r--third_party/rust/lucet-module-wasmsbx/tests/bindings/bindings_test.json5
-rw-r--r--third_party/rust/lucet-module-wasmsbx/tests/bindings/garbage.json1
3 files changed, 9 insertions, 0 deletions
diff --git a/third_party/rust/lucet-module-wasmsbx/tests/bindings/bad_bindings.json b/third_party/rust/lucet-module-wasmsbx/tests/bindings/bad_bindings.json
new file mode 100644
index 0000000000..ae6803892f
--- /dev/null
+++ b/third_party/rust/lucet-module-wasmsbx/tests/bindings/bad_bindings.json
@@ -0,0 +1,3 @@
+{
+ "env": {}
+}
diff --git a/third_party/rust/lucet-module-wasmsbx/tests/bindings/bindings_test.json b/third_party/rust/lucet-module-wasmsbx/tests/bindings/bindings_test.json
new file mode 100644
index 0000000000..049f8582f4
--- /dev/null
+++ b/third_party/rust/lucet-module-wasmsbx/tests/bindings/bindings_test.json
@@ -0,0 +1,5 @@
+{
+ "env": {
+ "hello": "json is cool"
+ }
+}
diff --git a/third_party/rust/lucet-module-wasmsbx/tests/bindings/garbage.json b/third_party/rust/lucet-module-wasmsbx/tests/bindings/garbage.json
new file mode 100644
index 0000000000..52942f28ce
--- /dev/null
+++ b/third_party/rust/lucet-module-wasmsbx/tests/bindings/garbage.json
@@ -0,0 +1 @@
+this file is not valid json!