Skip to content

Commit

Permalink
Test for fix about NPE while asserting no changes #49
Browse files Browse the repository at this point in the history
  • Loading branch information
regis1512 committed May 1, 2017
1 parent 2c7980d commit e6c4259
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -47,6 +47,8 @@ public void test_has_number_of_changes() throws Exception {
ChangesAssert changesAssert = assertThat(changes);
ChangesAssert changesAssert2 = changesAssert.hasNumberOfChanges(3);
Assertions.assertThat(changesAssert).isSameAs(changesAssert2);

assertThat(new Changes(table).setStartPointNow().setEndPointNow()).hasNumberOfChanges(0);
}

/**
Expand Down

0 comments on commit e6c4259

Please sign in to comment.