aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/repository
diff options
context:
space:
mode:
authorEduardo Julian2021-08-13 04:18:57 -0400
committerEduardo Julian2021-08-13 04:18:57 -0400
commite53c1a090eb9cfac3cb23d10d981648d02518ed1 (patch)
tree6c92c186525b6e73032ebea68765b791bcc27516 /stdlib/source/test/aedifex/repository
parent17629d66062b88b040a2397032f6c08361a5f3a7 (diff)
Made program: specify its bindings the same way as syntax:.
Diffstat (limited to 'stdlib/source/test/aedifex/repository')
-rw-r--r--stdlib/source/test/aedifex/repository/remote.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/aedifex/repository/remote.lux b/stdlib/source/test/aedifex/repository/remote.lux
index 8cca4aee8..44f913863 100644
--- a/stdlib/source/test/aedifex/repository/remote.lux
+++ b/stdlib/source/test/aedifex/repository/remote.lux
@@ -47,8 +47,8 @@
(<| io.io
#try.Success
(if (|> headers
- (dictionary.get "User-Agent")
- (maybe\map (is? /.user_agent))
+ (dictionary.value "User-Agent")
+ (maybe\map (same? /.user_agent))
(maybe.else false))
(case [method input]
[#@http.Get #.None]
@@ -58,7 +58,7 @@
[#@http.Put (#.Some input)]
(if (|> headers
- (dictionary.get "Authorization")
+ (dictionary.value "Authorization")
(maybe\map (text\= (//identity.basic_auth user password)))
(maybe.else false))
[http/status.created