Skip to content

Commit 5473ad5

Browse files
authored
Merge pull request #17 from barafael/fix-build-for-features-analyze_file+analyze_file_mp3
Fix build for feature combination `analyze_file` + `analyze_file_mp3`
2 parents 64ca98c + 918437a commit 5473ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyze/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ mod tests {
104104
fn test_get_notes_from_mp3_file() {
105105
let notes = get_notes_from_audio_file("tests/C7b9.mp3", None, None).unwrap();
106106

107-
assert_eq!(Chord::parse("C7b9").unwrap(), Chord::from_notes(&notes).unwrap()[0]);
107+
assert_eq!(Chord::parse("C7b9").unwrap(), Chord::try_from_notes(&notes).unwrap()[0]);
108108
}
109109
}

0 commit comments

Comments
 (0)