-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "! r can we use multiline strings"
This reverts commit 04fe91a.
- Loading branch information
1 parent
0bc6aa5
commit 16fecf8
Showing
4 changed files
with
15 additions
and
29 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...org/approvaltests/ApprovalsDuplicateVerifyExceptionTest.testExceptionMessage.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
org.approvaltests.ApprovalsDuplicateVerifyException: Already approved: file.txt | ||
By default, ApprovalTests only allows one verify() call per test. | ||
To find out more, visit: | ||
To find out more, visit: | ||
https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/reference/Naming.md | ||
|
||
# Fixes | ||
1. separate your test into two tests | ||
2. add NamedParameters with the NamerFactory | ||
3. Override Approvals.settings() with either | ||
a. allowMultipleVerifyCallsForThisClass | ||
b. allowMultipleVerifyCallsForThisMethod | ||
3. Override Approvals.settings() with either | ||
a. allowMultipleVerifyCallsForThisClass | ||
b. allowMultipleVerifyCallsForThisMethod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters