Skip to content

Commit 8fb71e6

Browse files
author
Rob Wilmshurst
committed
Resolve migrated unit test issue - seems can't rely on a "ref" value for comparison in the assertion.
git-svn-id: https://svn.code.sf.net/p/autowikibrowser/code/AWB@12772 5227b50d-9349-4574-b055-4b0a7525e11c
1 parent 187d34c commit 8fb71e6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

UnitTests/SorterTests.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,8 +1758,11 @@ The following links are here to prevent the interwiki bot from adding them to th
17581758
a = @"[[de:Canadian National Railway]]
17591759
[[jbo:canadian National]]
17601760
[[fr:Canadien National]]";
1761-
// TODO: Seemingly broken during UnitTest migration
1762-
// Assert.That(parser2.Sorter.Interwikis(ref a), Is.EqualTo(a + "\r\n"), "first letter casing retained for jbo-wiki links");
1761+
1762+
Assert.That(parser2.Sorter.Interwikis(ref a), Is.EqualTo(@"[[de:Canadian National Railway]]
1763+
[[jbo:canadian National]]
1764+
[[fr:Canadien National]]
1765+
"), "first letter casing retained for jbo-wiki links");
17631766

17641767
string i = @"{{Canadianmetros|
17651768
[[it:CN]]

0 commit comments

Comments
 (0)