mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Fix unit test
This commit is contained in:
parent
6026ab6989
commit
c4fce564d7
@ -1287,7 +1287,7 @@ To use an API key go to "Options -> Settings -> Tools" to enter your Googl
|
||||
<TranslateSelectedLines>Translate selected lines...</TranslateSelectedLines>
|
||||
<AdjustDisplayDurationForSelectedLines>Adjust durations for selected lines...</AdjustDisplayDurationForSelectedLines>
|
||||
<ApplyDurationLimitsForSelectedLines>Apply duration limits for selected lines...</ApplyDurationLimitsForSelectedLines>
|
||||
<ApplyCustomOverrideTag>Apply custom override tag...</ApplyCustomOverrideTag>
|
||||
<ApplyCustomOverrideTag>Apply custom override tags...</ApplyCustomOverrideTag>
|
||||
<FixCommonErrorsInSelectedLines>Fix common errors in selected lines...</FixCommonErrorsInSelectedLines>
|
||||
<ChangeCasingForSelectedLines>Change casing for selected lines...</ChangeCasingForSelectedLines>
|
||||
<SaveSelectedLines>Save selected lines as...</SaveSelectedLines>
|
||||
|
@ -68,9 +68,9 @@ namespace Test.Logic
|
||||
public void AutoBreakFrenchSpaceBeforePunctuation()
|
||||
{
|
||||
Configuration.Settings.General.SubtitleLineMaximumLength = 43;
|
||||
string s1 = "Et elle te le dis maintenant ? Pour quoi donc ?";
|
||||
string s1 = "Et elle te le dis maintenant ? Pour quoi donc donc ?";
|
||||
string s2 = Utilities.AutoBreakLine(s1, "fr");
|
||||
Assert.AreEqual("Et elle te le dis maintenant ?" + Environment.NewLine + "Pour quoi donc ?", s2);
|
||||
Assert.AreEqual("Et elle te le dis maintenant ?" + Environment.NewLine + "Pour quoi donc donc ?", s2);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
Loading…
Reference in New Issue
Block a user