You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we have some tests for the copy method, however if the copy method does not make a deep copy of a Multistring the test will not fail. We can fix our tests to catch that case with the example seen here fluentassertions/fluentassertions#2315 (comment)
For example this should fail
new Entry() {
LexemeForm = this.LexemeForm
}
because a copy of lexeme form was not made. This should pass
new Entry() {
LexemeForm = this.LexemeForm.Copy()
}
Since this is custom testing code there should be a test which asserts that the failure case throws
The text was updated successfully, but these errors were encountered:
Right now we have some tests for the copy method, however if the copy method does not make a deep copy of a Multistring the test will not fail. We can fix our tests to catch that case with the example seen here
fluentassertions/fluentassertions#2315 (comment)
For example this should fail
because a copy of lexeme form was not made. This should pass
Since this is custom testing code there should be a test which asserts that the failure case throws
The text was updated successfully, but these errors were encountered: