summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/success/CacheImportsCanonicalizeA.dhall
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-inference/success/CacheImportsCanonicalizeA.dhall')
-rw-r--r--dhall/tests/type-inference/success/CacheImportsCanonicalizeA.dhall5
1 files changed, 5 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/success/CacheImportsCanonicalizeA.dhall b/dhall/tests/type-inference/success/CacheImportsCanonicalizeA.dhall
new file mode 100644
index 0000000..e7f4dcd
--- /dev/null
+++ b/dhall/tests/type-inference/success/CacheImportsCanonicalizeA.dhall
@@ -0,0 +1,5 @@
+{-
+ This URL returns (probably) a different result for each request. This test
+ ensures that import locations are canonicalized before being cached.
+-}
+let _ = assert : https://csrng.net/csrng/csrng.php?min=0&max=1000 as Text === https://csrng.net/csrng/../csrng/csrng.php?min=0&max=1000 as Text in 0