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

To specify an error message explicitly for uppercase #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ggikko
Copy link

@ggikko ggikko commented Feb 24, 2017

fix for issue #32

@pforhan
Copy link
Contributor

pforhan commented Feb 28, 2017

Add a test case too?

@ggikko
Copy link
Author

ggikko commented Mar 2, 2017

I added test case for uppercase.

I thought that this test case is useless cause there's already illegalTokenCharactersFailFast test case. it's very similar..

@pforhan pforhan mentioned this pull request Jul 19, 2017
from("Hello {Name}").putOptional("Name", "Eric").format().toString();
fail("Expected IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the key here is to verify that the value of e.getMessage() is not Missing Closing Brace

pforhan added a commit to pforhan/phrase that referenced this pull request Jul 21, 2017
Tweaks invalid start- and end-of-token messages for clarity.

Inspired by square#33, fixes square#32 and square#34, probably square#29 as well.
pforhan added a commit to pforhan/phrase that referenced this pull request Jul 21, 2017
Tweaks invalid start- and end-of-token messages for clarity.

Inspired by square#33, fixes square#32 and square#34, probably square#29 as well.
pforhan added a commit to pforhan/phrase that referenced this pull request Jul 26, 2017
Tweaks invalid start- and end-of-token messages for clarity.

Inspired by square#33, fixes square#32 and square#34, probably square#29 as well.
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.

None yet

2 participants