summaryrefslogtreecommitdiff
path: root/dhall/tests/parser
diff options
context:
space:
mode:
authorNadrieril2020-06-25 14:21:02 +0100
committerNadrieril2020-06-25 15:12:09 +0100
commit8fd2fb4871335c72b9448da4a66144fd7f986f09 (patch)
treece12cf2b725e89c5651e4e9ab2e17a8255e7f6d7 /dhall/tests/parser
parent812fb88102082493d1176aab7ee61b5339821492 (diff)
spec!: remove the ability to quote paths in URLs
Diffstat (limited to 'dhall/tests/parser')
-rw-r--r--dhall/tests/parser/failure/unit/UrlWithQuotedPath.txt6
-rw-r--r--dhall/tests/parser/success/unit/import/quotedPathsB.txt2
2 files changed, 7 insertions, 1 deletions
diff --git a/dhall/tests/parser/failure/unit/UrlWithQuotedPath.txt b/dhall/tests/parser/failure/unit/UrlWithQuotedPath.txt
new file mode 100644
index 0000000..0b51f38
--- /dev/null
+++ b/dhall/tests/parser/failure/unit/UrlWithQuotedPath.txt
@@ -0,0 +1,6 @@
+ --> 1:21
+ |
+1 | https://example.com/"a%20b"/c␊
+ | ^---
+ |
+ = expected EOI, import_alt, bool_or, natural_plus, text_append, list_append, bool_and, natural_times, bool_eq, bool_ne, combine, combine_types, equivalent, prefer, or arrow
diff --git a/dhall/tests/parser/success/unit/import/quotedPathsB.txt b/dhall/tests/parser/success/unit/import/quotedPathsB.txt
index 4705ca3..373b872 100644
--- a/dhall/tests/parser/success/unit/import/quotedPathsB.txt
+++ b/dhall/tests/parser/success/unit/import/quotedPathsB.txt
@@ -1 +1 @@
-{ example0 = /foo/bar/"baz qux", example1 = https://example.com/foo/bar%3Fbaz?qux }
+/foo/bar/"baz qux"