I’m running the test suite for #EF1 (Lists - Remove an element) but it seems like the return type is never accepted. If I pass an array according to docs it says expected Bulk string, and it I pass a Bulk string it says it expects an Array
[tester::#EF1] Running tests for Stage #EF1 (Lists - Remove an element)
[tester::#EF1] $ ./your_program.sh
[your_program] Logs from your program will appear here!
[your_program] server is listening on port 6379
[tester::#EF1] [client] Connected (port 60054 -> port 6379)
[tester::#EF1] [client] $ redis-cli RPUSH raspberry raspberry pear blueberry banana strawberry
[tester::#EF1] [client] Sent bytes: "*7\r\n$5\r\nRPUSH\r\n$9\r\nraspberry\r\n$9\r\nraspberry\r\n$4\r\npear\r\n$9\r\nblueberry\r\n$6\r\nbanana\r\n$10\r\nstrawberry\r\n"
[your_program] Got RESP type: *
[your_program] Handling: Arrays
[your_program] Command: RPUSH: raspberry,raspberry,pear,blueberry,banana,strawberry
[tester::#EF1] [client] Received bytes: ":5\r\n"
[tester::#EF1] [client] Received RESP integer: 5
[tester::#EF1] [client] ✔︎ Received 5
[tester::#EF1] [client] > LPOP raspberry
[tester::#EF1] [client] Sent bytes: "*2\r\n$4\r\nLPOP\r\n$9\r\nraspberry\r\n"
[your_program] Got RESP type: *
[your_program] Handling: Arrays
[your_program] Command: LPOP: raspberry
[your_program] *1
[your_program] $9
[tester::#EF1] [client] Received bytes: "*1\r\n$9\r\nraspberry\r\n"
[tester::#EF1] [client] Received RESP array: ["raspberry"]
[your_program] raspberry
[your_program]
[tester::#EF1] Expected bulk string, found array
[tester::#EF1] Test failed
[tester::#EF1] Terminating program
[tester::#EF1] Program terminated successfully