#[tokio::test] async fn addvar3() { let script1 = redis_lua::lua!( return $x + 10; ); let script2 = redis_lua::lua!( return $y + 10; ); let script3 = redis_lua::lua!( return $z + 10; ); let script = script1 + script2 + script3; let mut cli = redis::Client::open("redis://127.0.0.1").unwrap(); let res: usize = script.x(20).y(4).z(2).invoke(&mut cli).unwrap(); assert_eq!(res, 12); }