From 3f6d2d414f21fa390dde6ba6d83442a02d97c1f4 Mon Sep 17 00:00:00 2001 From: Lucas Fernando Nunes Date: Fri, 19 Aug 2022 20:37:11 -0300 Subject: [PATCH 1/2] ponytest -> pony_test https://github.com/ponylang/ponyc/pull/4032 --- zmq/test/main.pony | 2 +- zmq/test/message_test.pony | 2 +- zmq/test/socket_options_test.pony | 2 +- zmq/test/socket_transport_tests.pony | 2 +- zmq/test/socket_type_tests.pony | 2 +- zmq/test/z85_test.pony | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zmq/test/main.pony b/zmq/test/main.pony index a5f7e54..75c50f9 100644 --- a/zmq/test/main.pony +++ b/zmq/test/main.pony @@ -1,5 +1,5 @@ -use "ponytest" +use "pony_test" actor Main is TestList new create(env: Env) => PonyTest(env, this) diff --git a/zmq/test/message_test.pony b/zmq/test/message_test.pony index ea526ca..829065e 100644 --- a/zmq/test/message_test.pony +++ b/zmq/test/message_test.pony @@ -1,5 +1,5 @@ -use "ponytest" +use "pony_test" use zmq = ".." class MessageTest is UnitTest diff --git a/zmq/test/socket_options_test.pony b/zmq/test/socket_options_test.pony index cd2ac40..583e5aa 100644 --- a/zmq/test/socket_options_test.pony +++ b/zmq/test/socket_options_test.pony @@ -1,5 +1,5 @@ -use "ponytest" +use "pony_test" use zmq = ".." class SocketOptionsTest is UnitTest diff --git a/zmq/test/socket_transport_tests.pony b/zmq/test/socket_transport_tests.pony index 1fb3807..1f42eab 100644 --- a/zmq/test/socket_transport_tests.pony +++ b/zmq/test/socket_transport_tests.pony @@ -1,5 +1,5 @@ -use "ponytest" +use "pony_test" use "net" use zmq = ".." use zmtp = "../zmtp" diff --git a/zmq/test/socket_type_tests.pony b/zmq/test/socket_type_tests.pony index 68a59db..b4f9863 100644 --- a/zmq/test/socket_type_tests.pony +++ b/zmq/test/socket_type_tests.pony @@ -1,5 +1,5 @@ -use "ponytest" +use "pony_test" use "collections" use zmq = ".." diff --git a/zmq/test/z85_test.pony b/zmq/test/z85_test.pony index 91604c5..4d51517 100644 --- a/zmq/test/z85_test.pony +++ b/zmq/test/z85_test.pony @@ -1,5 +1,5 @@ -use "ponytest" +use "pony_test" use "../z85" class Z85Test is UnitTest From 9efaf34d31d8f8d8d80f09d48eeb4de0979ad7e8 Mon Sep 17 00:00:00 2001 From: Lucas Fernando Cardoso Nunes Date: Fri, 19 Aug 2022 22:13:26 -0300 Subject: [PATCH 2/2] Expression is already of type AmbientAuth val --- zmq/test/socket_transport_tests.pony | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq/test/socket_transport_tests.pony b/zmq/test/socket_transport_tests.pony index 1f42eab..8a5315d 100644 --- a/zmq/test/socket_transport_tests.pony +++ b/zmq/test/socket_transport_tests.pony @@ -77,7 +77,7 @@ class SocketTransportTest is UnitTest let ra = _SocketReactor; let a = zmq.Socket(zmq.PAIR, ra.notify()) let rb = _SocketReactor; let b = zmq.Socket(zmq.PAIR, rb.notify()) - let net_auth = NetAuth(h.env.root as AmbientAuth) + let net_auth = NetAuth(h.env.root) let ctx = zmq.Context match _setup