This commit is contained in:
Timur Gordon 2025-07-08 22:52:24 +02:00
commit d059af9a18

View File

@ -197,7 +197,7 @@ async fn test_full_end_to_end_example() -> Result<(), Box<dyn std::error::Error>
// "print(\"Hello from authenticated client!\"); 42", // "print(\"Hello from authenticated client!\"); 42",
// "let x = 10; let y = 20; x + y", // "let x = 10; let y = 20; x + y",
// "print(\"Testing authentication...\"); \"success\"", // "print(\"Testing authentication...\"); \"success\"",
// "CALLER_PUBLIC_KEY", // "CALLER_ID",
// ]; // ];
// for (i, script) in test_scripts.iter().enumerate() { // for (i, script) in test_scripts.iter().enumerate() {
@ -206,9 +206,9 @@ async fn test_full_end_to_end_example() -> Result<(), Box<dyn std::error::Error>
// match client.play(script.to_string()).await { // match client.play(script.to_string()).await {
// Ok(result) => { // Ok(result) => {
// info!("✅ Script {} result: {}", i + 1, result.output); // info!("✅ Script {} result: {}", i + 1, result.output);
// if script == &"CALLER_PUBLIC_KEY" { // if script == &"CALLER_ID" {
// assert_eq!(result.output, expected_public_key_hex); // assert_eq!(result.output, expected_public_key_hex);
// info!("✅ CALLER_PUBLIC_KEY verification successful!"); // info!("✅ CALLER_ID verification successful!");
// } // }
// } // }
// Err(e) => { // Err(e) => {