Skip to content

Is there a way to enforce that it prints the entire diff, instead of having "and # more" at the bottom? #49

Description

@Jesse-Kerr

If I compare two character strings:

chr1 <- "This is a poem,
    a poem about nothing,
    Just used for testing,
    Not made for thinking,
    Just let it go
    Still just a poem
    Not a great poem
    But it's for testing
    And thus it's a poem
    The end"

chr2 <- ""

waldo::compare(chr1, chr2)

This prints the entire diff.

But if I add another line to my poem:

chr1 <- "This is a poem,
    a poem about nothing,
    Just used for testing,
    Not made for thinking,
    Just let it go
    Still just a poem
    Not a great poem
    But it's for testing
    And thus it's a poem
    The end
    Wait one more"

chr2 <- ""

waldo::compare(chr1, chr2)

The last line of the diff gets cut off. I think it stops printing after 10 diff lines? I'm guessing there is a Sys.env I might need to change?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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