Skip to content

Implementation for CharSequence length matcher (issue #90) - #179

Merged
sf105 merged 4 commits into
hamcrest:masterfrom
mle-enso:master
Sep 23, 2018
Merged

sf105 merged 4 commits into
hamcrest:masterfrom
mle-enso:master

Conversation

@mle-enso

Copy link
Copy Markdown

No description provided.

@krichter722

Copy link
Copy Markdown
Contributor

IDE-specific files should be ignored in .git/info/exclude rather than .gitignore in order to keep the repository IDE-agnostic.

@agebhar1

agebhar1 commented Sep 21, 2018 •

Copy link
Copy Markdown

@krichter722 is the .gitignore vs. .git/info/exclude thingy a blocker to accept this PR? If so @mle-enso updates it accordingly - I think 😉

Besides of the 👍's on #90 others might also be happy.

@mle-enso

Copy link
Copy Markdown
Author

Et voilà, now they are where they belong. Happy PR merging. :-)

@krichter722

Copy link
Copy Markdown
Contributor

@agebhar1 It was just a 2 cents contribution. However, @mle-enso the newline at the end of .gitignore should be removed as well.

@krichter722

krichter722 commented Sep 22, 2018 •

Copy link
Copy Markdown
Contributor

You should provide the changes in one commit, see https://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git for an explanation how to do that (I'm not the maintainer, so he or she might merge also the 4 commits expressing one change, but I advise against it).

@agebhar1

Copy link
Copy Markdown

Thank you both @krichter722 and @mle-enso.

@sf105

sf105 commented Sep 23, 2018

Copy link
Copy Markdown
Member

Thanks for this. I have a couple of suggestions.

  • move to hamcrest-library org.hamcrest.text
  • take a look at some of the other size/length matchers, you'll see that they're based on FeatureMatcher and that they also include a matcher of the length.
  • I also suggest changing length to hasLength to make the test read better.

@sf105
sf105 merged commit 22123ec into hamcrest:master Sep 23, 2018
@sf105

sf105 commented Sep 23, 2018

Copy link
Copy Markdown
Member

I made the changes anyway.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants