Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Iulian Barbu <iulian.barbu@parity.io>
  • Loading branch information
iulianbarbu committed Nov 2, 2024
1 parent ed3a62d commit 19edb66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn test_compile_markdown_valid() {
.to_string(),
"\"# This is a markdown file\\n\\n```rust\\nstruct \
Something;\\n```\\n<!-- this is a comment -->\\n\\n`\
``rust\\nfn some_fn() {\\n println!(\\\"foo\\\");\
``rust,ignore\\nfn some_fn() {\\n println!(\\\"foo\\\");\
\\n}\\n```\\n\\nSome text this is some text\\n\""
);
}
Expand Down Expand Up @@ -96,7 +96,7 @@ fn test_compile_markdown_source_valid() {
"this is some markdown\n\
this is some more markdown\n\
# this is a title\n\
```rust\n\
```rust,ignore\n\
fn some_fn() {\n \
println!(\"foo\");\n\
}\n\
Expand Down

0 comments on commit 19edb66

Please sign in to comment.