Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
NyxCode committed Apr 9, 2024
1 parent 874a49a commit 17fbe09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts-rs/tests/recursion_limit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub enum VeryBigEnum {
V232(String), V233(String), V234(String), V235(String), V236(String), V237(String), V238(String),
V239(String), V240(String), V241(String), V242(String), V243(String), V244(String), V245(String),
V246(String), V247(String), V248(String), V249(String), V250(String), V251(String), V252(String),
V253(String), V254(String), V255(String), V256(String),
V253(String), V254(String), V255(String), V256(String),
}

#[test]
Expand All @@ -76,7 +76,7 @@ fn very_big_enum() {
}

let mut visitor = Visitor(false);
VeryBigEnum::dependencies().for_each(&mut visitor);
VeryBigEnum::dependency_types().for_each(&mut visitor);

assert!(visitor.0, "there must be at least one dependency");
}

0 comments on commit 17fbe09

Please sign in to comment.