Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid printing (1 more lines that didn't fit) #467

Closed
vlsi opened this issue Oct 2, 2019 · 1 comment
Closed

Avoid printing (1 more lines that didn't fit) #467

vlsi opened this issue Oct 2, 2019 · 1 comment

Comments

@vlsi
Copy link
Contributor

vlsi commented Oct 2, 2019

Sample: https://travis-ci.org/apache/jmeter/jobs/592533815#L391

(1 more lines that didn't fit) message takes 1 line itself, so it would be better to just print the line that "did not fit" :)

          @@ -92,9 +93,9 @@
           ········vars.put("content",·"one");
           ········extractor.setRightBoundary("e");
           ········extractor.setMatchNumber(-1);
          -········extractor.setRefName("varname");········
          +········extractor.setRefName("varname");
           ········extractor.setScopeVariable("content");
          -········extractor.setThreadContext(jmctx);········
          +········extractor.setThreadContext(jmctx);
           ········extractor.process();
           ········assertThat(vars.get("varname"),·CoreMatchers.is(CoreMatchers.nullValue()));
      ... (1 more lines that didn't fit)
  Run 'gradlew spotlessApply' to fix these violations.
vlsi added a commit to vlsi/spotless that referenced this issue Nov 8, 2019
vlsi added a commit to vlsi/spotless that referenced this issue Nov 10, 2019
vlsi added a commit to vlsi/spotless that referenced this issue Nov 11, 2019
@nedtwigg
Copy link
Member

Fixed in x.26.0

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

No branches or pull requests

2 participants