Skip to content

Commit

Permalink
Review comments, fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aleokdev committed Jun 21, 2024
1 parent 5d24bec commit 2eb8206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased (0.13.0)]
### Added
- A way to obtain where tilesets, templates and maps have been loaded from
- Added a `source` member to `Tileset`, `Map` and `Template`, which stores the resource path they have been loaded from.

## [0.12.0]
### Added
Expand Down
2 changes: 1 addition & 1 deletion tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fn test_external_sources() {
.unwrap();
assert_eq!(e.source, PathBuf::from("assets/tiled_object_template.tmx"));
assert_eq!(
e.tilesets()[0].source,
loader.cache().templates.values().next().unwrap().source,
PathBuf::from("assets/tiled_object_template.tx")
);
}
Expand Down

0 comments on commit 2eb8206

Please sign in to comment.