Skip to content

Commit 17cc2f9

Browse files
authored
Merge pull request #49 from koraykoska/master
2 parents 3146a14 + 48752e9 commit 17cc2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/_NIOJSON/Core/JSONDescription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ extension JSONDescription {
529529
}
530530

531531
func addJSONSize(of size: Int32) {
532-
assert(topLevelType == .object || topLevelType == .object)
532+
assert(topLevelType == .array || topLevelType == .object)
533533

534534
advance(at: Constants.jsonLengthOffset, by: size)
535535
}

0 commit comments

Comments
 (0)