aboutsummaryrefslogtreecommitdiff
path: root/test_api
diff options
context:
space:
mode:
authorGuillaume Pasquet <dev@etenil.net>2022-03-03 23:18:08 +0000
committerGuillaume Pasquet <dev@etenil.net>2022-03-03 23:18:08 +0000
commit57af17cfa6e08a6fe9bf6d73d401af17dccfa3bb (patch)
treecd550ccf0eb78f360e6813ffdfd3c89d817eb21f /test_api
parentf797f10c2eda28a221759fc26ddf483f41232604 (diff)
Introduce JSONPath and potentially break old stuff.
Diffstat (limited to 'test_api')
-rw-r--r--test_api/test_api_get_filter.barb2
-rw-r--r--test_api/test_api_get_jsonpath.barb3
2 files changed, 4 insertions, 1 deletions
diff --git a/test_api/test_api_get_filter.barb b/test_api/test_api_get_filter.barb
index 674ff15..83ba52f 100644
--- a/test_api/test_api_get_filter.barb
+++ b/test_api/test_api_get_filter.barb
@@ -1,3 +1,3 @@
#GET^http://localhost:8080/
#Foo: Bar
-#BAR|.status
+#|.status
diff --git a/test_api/test_api_get_jsonpath.barb b/test_api/test_api_get_jsonpath.barb
new file mode 100644
index 0000000..d4f323e
--- /dev/null
+++ b/test_api/test_api_get_jsonpath.barb
@@ -0,0 +1,3 @@
+#GET^http://localhost:8080/
+#Foo: Bar
+#$$.status