dn-m / MusicXML

Implementation of the musicXML specification in Swift
MIT License
70 stars 19 forks source link

Tests Fail! #238

Closed Treata11 closed 1 year ago

Treata11 commented 1 year ago

running tests in the terminal fails with the following error:

Parsed scores from LilyPond test suite will be written there for inspection.
❌ Partwise/01a-Pitches-Pitches.xml
<container>
    <fingering>
        1
    </fingering>
</container>
<measure number="1" />
🎼 Test score: SchbAvMaSample
  Path: /Users/alaa/Developer/Git/MusicXML/Tests/MusicXMLTests/ScoreTests/MusicXMLSamples/SchbAvMaSample/SchbAvMaSample.musicxml
  Source: https://www.musicxml.com/music-in-musicxml/example-set/
  ❌ Parsing failed: typeMismatch(MusicXML.Encoding.Kind, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "identification", intValue: nil), CodingKeys(stringValue: "encoding", intValue: nil), XMLKey(stringValue: "0", intValue: 0), XMLKey(stringValue: "0", intValue: 0)], debugDescription: "Unrecognized choice", underlyingError: nil))