Skip to content

Commit

Permalink
Add test files for resolving paths with colons in them
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Oct 1, 2024
1 parent a0ff6c0 commit cbbe45e
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/test/foo: bar/links-unusual-path.org
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file is on an unusual path.
72 changes: 72 additions & 0 deletions assets/test/foo: bar/unicorn-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/test/links-external.org
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- [[file:links-local.org::*Hogehoge][External section link to nonexistent section in links-local.org]]
- [[id:nonexistent-id][External ID link to nonexistent ID]]
- TODO(aaron): Make this work with ~AssetDataSource~
- [[file:foo: bar/links-unusual-path.org][External file link to unusal path]]
3 changes: 3 additions & 0 deletions assets/test/media-svg.org
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ Asset:

Network:
https://raw.githubusercontent.com/amake/orgro/ef0eec7abef855487f3d30882bd4408018d03bf2/assets/unicorn-1.svg

Asset on unusual path:
[[file:foo: bar/unicorn-1.svg]]
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ flutter:
- assets/manual/data/C2/59CE94-D4C8-4C4F-9C9E-9ABE446E7DA3/
- assets/fonts/
- assets/test/
- "assets/test/foo: bar/"
- assets/licenses/

dependency_overrides:
Expand Down

0 comments on commit cbbe45e

Please sign in to comment.