-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes https://github.com/sillsdev/serval/issues/449 #232
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #232 +/- ##
=======================================
Coverage 69.66% 69.66%
=======================================
Files 377 377
Lines 31374 31377 +3
Branches 4391 4391
=======================================
+ Hits 21856 21860 +4
Misses 8498 8498
+ Partials 1020 1019 -1 ☔ View full report in Codecov by Sentry. |
Non verse followed by verse? Isn't it the other way around? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @ddaspit and @johnml1135)
tests/SIL.Machine.Tests/Corpora/UsfmMemoryTextTests.cs
line 117 at r1 (raw file):
Previously, johnml1135 (John Lambert) wrote…
Non verse followed by verse? Isn't it the other way around?
That was a copy-paste mistake. Done.
That works, @ddaspit . I saw that function but dismissed it because of the naming. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opt breaks are basically text, so we want to handle them the same way. I also made some small changes to the unit test names.
Reviewed 3 of 3 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @johnml1135)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. It surprised me that there weren't tests yet for opt breaks (in the memory tests). And I should have noted that I confirmed that the original changes resolve the two related failures we've seen coming out of SF. I'd assume these also resolve it given they're ultimately doing similar things.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @johnml1135)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are opt break tests in the UsfmFileTextTests
fixture, but it only tested for opt breaks in the middle of a segment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @johnml1135)
Aside from outbreaks not being documented as part of USFM, it looks great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @Enkidu93)
I'm not sure that this is the cleanest solution, but it does resolve the issue. Please critique :)
This change is