Skip to content

Commit

Permalink
Issue #50: More RowAdapterTests
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed May 18, 2016
1 parent 23178a2 commit 4f1173e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Public/Core/Row/RowAdapterTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class RowAdapterTests: GRDBTestCase {

// # Subrows

XCTAssertEqual(row.subrows.count, 1)
XCTAssertEqual(Array(row.subrows.keys), ["foo"])
let row2 = row.subrows["foo"]!
XCTAssertEqual(row2.count, 2)
XCTAssertEqual(row2.value(named: "id") as Int, 2)
Expand Down

0 comments on commit 4f1173e

Please sign in to comment.