Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adds comments to tests
  • Loading branch information
SkymanOne committed Sep 5, 2022
commit 7eeb0beea567f2e4abf64d06687ade17c7f1c96f
2 changes: 2 additions & 0 deletions crates/metadata/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ fn spec_contract_json() {
)
}

/// Tests correct trimming of a simple comment with extra spaces
#[test]
fn trim_docs() {
// given
Expand Down Expand Up @@ -207,6 +208,7 @@ fn trim_docs() {
assert_eq!(deserialized.docs, compact_spec.docs);
}

/// Tests correct trimming of a complex comment with a code snippet
#[test]
fn trim_docs_with_code() {
// given
Expand Down