Skip to content

Commit a0cbd20

Browse files
authored
Update simulate_test.go
1 parent 28fc8f0 commit a0cbd20

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

internal/simulate/simulate_test.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ func TestSimulate_WithApproval_ProducesStrictVerifiableReceipt(t *testing.T) {
4141
}
4242

4343
if _, err := verify.Run(verify.Options{
44-
ReceiptPath: out,
45-
SchemaPath: filepath.Join(root, "spec", "receipt.schema.json"),
46-
StrictHashes: true,
47-
StrictSignature: true,
48-
StrictApprovals: true,
49-
PublicKeyDirOpt: filepath.Dir(pubPath),
44+
ReceiptPath: out,
45+
SchemaPath: filepath.Join(root, "spec", "receipt.schema.json"),
46+
StrictHashes: true,
47+
StrictSignature: true,
48+
StrictApprovals: true,
49+
PublicKeyDirOpt: filepath.Dir(pubPath),
5050
}); err != nil {
5151
t.Fatalf("verify strict: %v", err)
5252
}
@@ -107,13 +107,13 @@ func TestSimulate_WithExplicitChainFields_ProducesStrictChainChild(t *testing.T)
107107
}
108108

109109
res, err := verify.Run(verify.Options{
110-
ReceiptPath: childPath,
111-
SchemaPath: filepath.Join(root, "spec", "receipt.schema.json"),
112-
StrictHashes: true,
113-
StrictSignature: true,
114-
PublicKeyDirOpt: filepath.Dir(pubPath),
115-
StrictChain: true,
116-
ChainDir: dir,
110+
ReceiptPath: childPath,
111+
SchemaPath: filepath.Join(root, "spec", "receipt.schema.json"),
112+
StrictHashes: true,
113+
StrictSignature: true,
114+
PublicKeyDirOpt: filepath.Dir(pubPath),
115+
StrictChain: true,
116+
ChainDir: dir,
117117
})
118118
if err != nil {
119119
t.Fatalf("verify strict chain: %v", err)

0 commit comments

Comments
 (0)