Skip to content

Test result has ^M characters and is not on multiple lines. #785

Closed
@DasOhmoff

Description

@DasOhmoff

Hey 👋, thank you for your help.

I like this plugin a lot, and that is why I am starting to use it everywhere. I started using it for testing also, and I noticed something. Suppose I have the following code:

        [Fact]
        public void Test()
        {
            Assert.True(false);
        }

If I now execute OmniSharpRunTest, I get the following result in the quick fix window:
image
Notice the ^M character, and also that the message is only on one single line, instead of multi lines. It would be great to have these ^M characters removed and the message separated onto separate lines.

There is already something similar there in omnisharp-vim. In which the stacktrace is printed on multiple lines. For example if you have the following code:

        [Fact]
        public void Test()
        {
            Assert.True(false);
        }

        private void PrivateMethod()
        {
            Assert.True(false);
        }

If I now execute OmniSharpRunTest within the Test method, I get the following result in the quick fix window:image

Here the stacktrace is separated onto multiple lines.

By the way: Also it would be nice to be able to change the color of the message parts, for example the stacktrace to red.

I think this should not take to long to implement. What do you think?
Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions