v0.1.0-pre.056

This commit is contained in:
2026-07-26 16:32:14 +02:00
parent a3ce8d733f
commit 562f5c08ed
36 changed files with 801 additions and 872 deletions

View File

@@ -508,7 +508,7 @@ mod tests {
#[test]
fn ata_matrix_declares_the_single_compiled_risk_fact() {
let matrix: serde_json::Value = match serde_json::from_str(include_str!(
"../../../../docs/SPL_ASSOCIATED_TOKEN_ACCOUNT_MATRIX.json"
"../../../../test-fixtures/contract-matrices/SPL_ASSOCIATED_TOKEN_ACCOUNT_MATRIX.json"
)) {
std::result::Result::Ok(value) => value,
std::result::Result::Err(error) => panic!("ATA matrix is invalid: {error}"),

View File

@@ -722,7 +722,7 @@ mod tests {
#[test]
fn ata_matrix_and_compiled_token_account_projection_ownership_are_equal() {
let matrix: serde_json::Value = match serde_json::from_str(include_str!(
"../../../../docs/SPL_ASSOCIATED_TOKEN_ACCOUNT_MATRIX.json"
"../../../../test-fixtures/contract-matrices/SPL_ASSOCIATED_TOKEN_ACCOUNT_MATRIX.json"
)) {
std::result::Result::Ok(value) => value,
std::result::Result::Err(error) => panic!("ATA matrix is invalid: {error}"),

View File

@@ -594,7 +594,7 @@ mod tests {
#[test]
fn machine_readable_matrix_declares_transaction_annotation_policy() {
let parsed = serde_json::from_str::<serde_json::Value>(include_str!(
"../../../../docs/SPL_MEMO_MATRIX.json"
"../../../../test-fixtures/contract-matrices/SPL_MEMO_MATRIX.json"
));
let matrix = match parsed {
std::result::Result::Ok(value) => value,