Skip to content

Commit

Permalink
Fix unmanaged dictionary test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Yakimenko authored and dianaafanador3 committed Oct 11, 2022
1 parent 7055e04 commit 8bd435c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Realm/Tests/DictionaryPropertyTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ - (void)testUnmanaged {
XCTAssertThrows([intDictionary.intObjDictionary sortedResultsUsingKeyPath:@"intCol" ascending:YES], @"Should throw on unmanaged RLMDictionary");

// test unmanaged with literals
__unused DictionaryPropertyObject *obj = [[DictionaryPropertyObject alloc] initWithValue:@[@{}, @{}, @{}, @{@"one": [[IntObject alloc] initWithValue:@[@1]]}]];
__unused DictionaryPropertyObject *obj = [[DictionaryPropertyObject alloc] initWithValue:@[@{}, @{}, @{}, @{@"one": [[EmbeddedIntObject alloc] initWithValue:@[@1]]}, @{@"one": [[IntObject alloc] initWithValue:@[@1]]}]];
}

- (void)testUnmanagedComparision {
Expand Down

0 comments on commit 8bd435c

Please sign in to comment.