question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Output plain String diff

See original GitHub issue

Which version of Kotest are you using 4.3.2

image Apparently, there is some special handling for Intellij. Unfortunately that doesn't change the fact that this type of diff is not very helpful...

Is there some way for a simple shouldBe Matcher to return the plain Strings?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sksamuelcommented, Feb 7, 2021

I think kotest.assertions.multi-line-diff could default to simple if we can detect we are running inside intellij.

0reactions
sksamuelcommented, Sep 20, 2021

5.0 detects intellij mode and sets this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the diff command to compare two strings?
The diff command analyzes two files and prints the lines that are different. Can I use the same diff command to compare two...
Read more >
git-diff Documentation - Git
Output a condensed summary of extended header information such as creations, renames and mode changes. --patch-with-stat. Synonym for -p --stat . -z. When...
Read more >
Linux diff command help and examples - Computer Hope
On Unix-like operating systems, the diff command analyzes two files and prints the lines that are different. In essence, it outputs a set...
Read more >
Extract the difference between two strings in Java
Diff : Compare two blocks of plain text and efficiently return a list of differences. Match: Given a search string, find its best...
Read more >
Git Diff | Atlassian Git Tutorial
The git diff command is often used along with git status and git log to analyze the current state of a Git repo....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found