From f55103498fd864b8e338e93b5ec86dbd84ddf91b Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Thu, 7 Mar 2019 18:35:24 -0700 Subject: [PATCH] Remove commented test code --- core/src/rpc_pubsub.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/core/src/rpc_pubsub.rs b/core/src/rpc_pubsub.rs index 10f39aa9f4..ce8a45c246 100644 --- a/core/src/rpc_pubsub.rs +++ b/core/src/rpc_pubsub.rs @@ -400,25 +400,6 @@ mod tests { sleep(Duration::from_millis(200)); assert_eq!(arc_bank.get_account(&contract_state.pubkey()), None); - - // TODO: Should we get a notification of an empty account? - //let expected = json!({ - // "jsonrpc": "2.0", - // "method": "accountNotification", - // "params": { - // "result": { - // "owner": budget_program_id, - // "lamports": 1, - // "userdata": expected_userdata, - // "executable": executable, - // }, - // "subscription": 0, - // } - //}); - //let string = receiver.poll(); - //if let Async::Ready(Some(response)) = string.unwrap() { - // assert_eq!(serde_json::to_string(&expected).unwrap(), response); - //} } #[test]