-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecation errors and add tests (#141)
* Fix deprecation error * Add tests for deprecation * Update Project.toml * Add temporary Manifest.toml * Remove temporary Manifest.toml
- Loading branch information
1 parent
2d61316
commit d580204
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@deprecate writeMIDIFile(filename::AbstractString, data::MIDIFile) MIDI.save(filename, data) | ||
@deprecate writeMIDIFile(filename::AbstractString, notes::Notes) MIDI.save(filename, notes) | ||
@deprecate readMIDIFile(filename::AbstractString) MIDI.load(filename) | ||
@deprecate writeMIDIFile(filename::AbstractString, data::MIDIFile) save(File{format"MIDI"}(filename), data) | ||
@deprecate writeMIDIFile(filename::AbstractString, notes::Notes) save(File{format"MIDI"}(filename), notes) | ||
@deprecate readMIDIFile(filename::AbstractString) load(File{format"MIDI"}(filename)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters