diff --git a/src/lib.rs b/src/lib.rs index 20a3f41..a7e340d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -558,7 +558,7 @@ mod tests { "{$ hello!}", "{/ a-path.txt}", "{********* hello!}", - "{:/some/fp:*** a -path-.txt}", + "{:/some/file:*** a -path-.txt}", "[anchor]", "[anchor][description]", "{* hello}[description]", diff --git a/src/snapshots/rust_norg__tests__links.snap.new b/src/snapshots/rust_norg__tests__links.snap similarity index 97% rename from src/snapshots/rust_norg__tests__links.snap.new rename to src/snapshots/rust_norg__tests__links.snap index 8e5a3b4..31e44f1 100644 --- a/src/snapshots/rust_norg__tests__links.snap.new +++ b/src/snapshots/rust_norg__tests__links.snap @@ -1,11 +1,10 @@ --- source: src/lib.rs -assertion_line: 575 expression: examples --- - - Paragraph: - Link: - filepath: what + filepath: ~ targets: - Url: "https://github.com/nvim-neorg/neorg" description: ~ @@ -39,7 +38,7 @@ expression: examples description: ~ - - Paragraph: - Link: - filepath: /some/fp + filepath: /some/file targets: - Heading: level: 3