Wrap a parameter/c contract around current-proxy-servers, so it may be used in calls to parameterize. Add test for same.
svn: r7030
original commit: 39d78f3fbf
This commit is contained in:
parent
ab755d6138
commit
f14fa1aaab
|
@ -44,6 +44,10 @@
|
|||
(test 'amp-or-semi current-alist-separator-mode)
|
||||
(err/rt-test (current-alist-separator-mode 'bad))
|
||||
|
||||
;; Test the current-proxy-servers parameter can be set
|
||||
(parameterize ([current-proxy-servers '(("http" "proxy.com" 3128))])
|
||||
(test '(("http" "proxy.com" 3128)) current-proxy-servers))
|
||||
|
||||
(let ([with-censor (load-relative "censor.ss")])
|
||||
(with-censor
|
||||
(lambda ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user