test(rosenpass): adapt gen-ipc-msg-types to fully go through. Explicit test for SHAKE256 still missing

This commit is contained in:
David Niehues
2025-03-14 16:29:11 +01:00
parent d7398d9bcf
commit c9aad280b2
2 changed files with 23 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
use std::{borrow::Borrow, process::Command};
use std::{process::Command};
#[test]
fn test_gen_ipc_msg_types() -> anyhow::Result<()> {
@@ -11,5 +11,6 @@ fn test_gen_ipc_msg_types() -> anyhow::Result<()> {
assert!(stdout.contains("type RawMsgType = u128;"));
assert!(stdout.contains("const SUPPLY_KEYPAIR_RESPONSE : RawMsgType = RawMsgType::from_le_bytes(hex!(\"f2dc 49bd e261 5f10 40b7 3c16 ec61 edb9\"));"));
// TODO: Also test SHAKE256 here
Ok(())
}