Skip to content

Commit

Permalink
fixed test where generic not interpreting masked fields so not matchi…
Browse files Browse the repository at this point in the history
…ng fast interp #4
  • Loading branch information
roznet committed Apr 2, 2022
1 parent 4d3a974 commit c08ddd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/FitFileParserSwiftTests/FitFileParserSwiftTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ final class FitFileParserSwiftTests: XCTestCase {
if message.messageType.name() == "event" && fast_key == "data" {
continue
}
// skipped masked field not interpreted by generic
if fast_key == "message_index_value" {
continue
}
XCTAssertNotNil(generic_message.interpretedField(key: fast_key), "\(message.messageType.name()).\(fast_key): missing")
// Know fields where array skipped in fast mode
if generic_message.messageType == .developer_data_id && fast_key == "application_id" {
Expand Down

0 comments on commit c08ddd7

Please sign in to comment.