Skip to content

Unit test error: MarkdownSharpTests.ConfigTest.TestEncodeProblemUrlCharacters #66

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Cloned from 0f7a8d615e69, downloaded source from my clone.
2. Built (unaltered) with VisualStudio 2013 Update 2
3. Run unit tests

What is the expected output? What do you see instead?

Output includes a large dump of HTML, and at least one error:

    014-09-04 19:04:15,240 [TestRunnerThread] INFO  MarkdownSharpTests.BaseTest - SimpleTests - Tests complete
    Tests run: 48, Errors: 0, Failures: 1, Inconclusive: 0, Time: 0.6770464 seconds
    Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
    Errors and Failures:
     1) Test Failure : MarkdownSharpTests.ConfigTest.TestEncodeProblemUrlCharacters
      Expected string length 49 but was 47. Strings differ at index 19.
      Expected: "<p><a href="/%27%2a%5f%5b%5d%28%29/">Foo</a></p>\n"
      But was:  "<p><a href="/%27%2a_%5b%5d%28%29/">Foo</a></p>\n"
      ------------------------------^
    at MarkdownSharpTests.ConfigTest.TestEncodeProblemUrlCharacters() in c:\try\burt-harris-balancing-groups\MarkdownSharpTests\ConfigTest.cs:line 81


What version of the product are you using? On what operating system?

* Windows Server 2012 R2
* Visual Studio 2013 Update 2
* MarkdownSharp built from change #0f7a8d615e69

Please provide any additional information below.

Looks like there were some checkins in April 2014 that may have introduced this 
error.   Some cleanup may be appropriate.

Original issue reported on code.google.com by Burt_Har...@hotmail.com on 5 Sep 2014 at 2:12

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions