Skip to content

Commit

Permalink
tests: add rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
csgui committed Feb 6, 2024
1 parent 1a4a4ed commit 4d35643
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clar2wasm/src/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ pub fn crosscheck_compare_only(snippet: &str) {
);
}

/// Advance the block height to `count`, and uses the same TestEnvironment instance
/// to assert the results of a contract snippet running against the compiler and the interpreter.
pub fn crosscheck_compare_only_advancing_tip(snippet: &str, count: u32) {
let mut compiler_env = TestEnvironment::new(StacksEpochId::latest(), ClarityVersion::latest());
compiler_env.advance_chain_tip(count);
Expand Down

0 comments on commit 4d35643

Please sign in to comment.