Skip to content

Commit

Permalink
change arfbork example
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnMorreau committed Oct 8, 2024
1 parent 24f4658 commit cb28d4d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ark/fast-check/__tests__/arktypeFastCheck.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ describe("Arbitrary Generation", () => {
})
it("cyclic throws", () => {
const $ = scope({
arf: {
b: "bork"
arf2: {
b: "bork2"
},
bork: {
c: "arf&bork"
bork2: {
c: "arf2&bork2"
}
}).export()
attest(() => arkToArbitrary($.arf)).throws(
attest(() => arkToArbitrary($.arf2)).throws(
"Infinitely deep cycles are not supported."
)
})
Expand Down

0 comments on commit cb28d4d

Please sign in to comment.