core-lib: modify "test_state" so that it fails on new_view + set_theme
@@ -59,8 +59,8 @@ fn test_state() {
let write = io::sink();
let json = make_reader(
r#"{"method":"client_started","params":{}}
-{"method":"set_theme","params":{"theme_name":"InspiredGitHub"}}
-{"id":0,"method":"new_view","params":{}}"#,
+{"id":0,"method":"new_view","params":{"file_path":"../Cargo.toml"}}
+{"method":"set_theme","params":{"theme_name":"InspiredGitHub"}}"#,
);
let mut rpc_looper = RpcLoop::new(write);
rpc_looper.mainloop(|| json, &mut state).unwrap();
