Change the unit test to expect a 301. We should probably make all tests work with networking disabled instead of hitting remote servers.
-USING:
- byte-arrays
- kernel
- openssl.libcrypto
- sequences
- splitting
- strings
- tools.test ;
+USING: byte-arrays kernel openssl.libcrypto sequences splitting
+strings tools.test ;
IN: openssl.libcrypto.tests
{ t 1 } [
] keep BIO_free
] unit-test
-{ "HTTP/1.1 200 Document follows" 1 } [
+{ "HTTP/1.1 301 Moved Permanently" 1 } [
"factorcode.org:80" BIO_new_connect [
[ BIO_C_DO_STATE_MACHINE 0 f BIO_ctrl drop ]
[