File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
euphony_library/src/state Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 32
32
- name : Run unit and integration tests
33
33
run : cargo nextest run --all-features --all-targets --workspace --verbose
34
34
- name : Run documentation tests
35
- run : cargo test --all-features --doc --verbose
35
+ run : cargo test --all-features --doc --workspace -- verbose
Original file line number Diff line number Diff line change @@ -107,11 +107,13 @@ impl SourceAlbumState {
107
107
///
108
108
/// # Example
109
109
/// ```
110
- /// let directory_path = Path::from("D:/MusicLibrary/Ed Harrison/Neotokyo");
110
+ /// # use std::path::Path;
111
+ /// # use euphony_library::state::source::SourceAlbumState;
112
+ /// let directory_path = Path::new("D:/MusicLibrary/Ed Harrison/Neotokyo");
111
113
///
112
114
/// assert_eq!(
113
- /// Self ::get_state_file_path_for_directory(directory_path),
114
- /// Path::from ("D:/MusicLibrary/Ed Harrison/Neotokyo/.album.source-state.euphony` )
115
+ /// SourceAlbumState ::get_state_file_path_for_directory(directory_path),
116
+ /// Path::new ("D:/MusicLibrary/Ed Harrison/Neotokyo/.album.source-state.euphony" )
115
117
/// );
116
118
/// ```
117
119
pub fn get_state_file_path_for_directory < P : AsRef < Path > > (
Original file line number Diff line number Diff line change @@ -104,11 +104,13 @@ impl TranscodedAlbumState {
104
104
///
105
105
/// # Example
106
106
/// ```
107
- /// let directory_path = Path::from("D:/MusicLibrary/Ed Harrison/Neotokyo");
107
+ /// # use std::path::Path;
108
+ /// # use euphony_library::state::transcoded::TranscodedAlbumState;
109
+ /// let directory_path = Path::new("D:/MusicLibrary/Ed Harrison/Neotokyo");
108
110
///
109
111
/// assert_eq!(
110
- /// Self ::get_state_file_path_for_directory(directory_path),
111
- /// Path::from ("D:/MusicLibrary/Ed Harrison/Neotokyo/.album.transcode-state.euphony` )
112
+ /// TranscodedAlbumState ::get_state_file_path_for_directory(directory_path),
113
+ /// Path::new ("D:/MusicLibrary/Ed Harrison/Neotokyo/.album.transcode-state.euphony" )
112
114
/// );
113
115
/// ```
114
116
pub fn get_state_file_path_for_directory < P : AsRef < Path > > (
You can’t perform that action at this time.
0 commit comments